Nworthy

How do I give people starting money?

11 posts in this topic

Hi all,

So this may be a bit of a noobish question but I was wondering if anyone has figured out a way to automatically give people some money the first time they join my server.

I was thinking is there a way to use the steamid to check if it is someone first time and if it is give them x amount of money along which their starting g equipment.

Any help would be appreciated.

Nworthy

Share this post


Link to post
Share on other sites

You can set it in your database.

Database table is the account table, there you will see a "money' row and a default value. Set the default to what ever you wish and presto your done, when a new player is created on your database they will default with that amount of money. And its a once off, not every time they spawn in, only on the first time.

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

Hi guys,

I'm currently struggling where the database table is?

Could you provide any help?

Kind regards,

Nworthy

That will depend on who you are using to host your server, or if its just on your local machine.

Share this post


Link to post
Share on other sites

You even have access to the table structure with GTX? I know before companies would lock those features, import, backup and export. You would type in the desired username and password.

Since its dedicated box I wonder the work around to install MySQL

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.