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.
Question
Mr.GAM3R
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.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now