Jump to content

Storing user datas


BigBrother

Recommended Posts

Hello,

I'm starting a new roleplay gamemode, and I'd like to optimize it.

I don't want to make SQL requests at each time I have to change a user data, so I had the idea to create a table at the connection of the user, and to store in it all the informations which could be changes during the game session.

At the logout, I just have to make a request to update all the content of the table in the SQL table

But, using this method requires to create a table for each connected player, so How can I create dynamicly a table ?

Regards,

Link to comment

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.
×
×
  • Create New...