Jump to content
  • 0

Database Querying


Hi everyone,

I have a question I can't seem to find the answer to, any help at all would be great.
I am trying to query data fields from the player_data table in my servers database, I have setup an additional data column in the table as a simple int just for testing, so I can see how changing data in game works. But that's where I get stuck, I understand how to change data like humanity using get and set variables, but I cant find a place where all of the variables are defined or initially instantiated when the player character loads in. How do i go about querying the database so I can use stored data in my scripts. Thanks in advance.

Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Advertisement
  • Supporters
  • Discord

  • Create New...