Please help me figure out - during what moment and in what form should be sent the values of humanity reduced to the database when a player dies?
A few months trying to do it all to no avail.
I tried to make it through the client and on the server side, the level of humanity is reduced, but not saved. Tried several hundreds of options, but my ignorance scripting leads to the same result - the database changed values are not entered. Now suppose that all the records in the database are terminated when a player dies.
Help properly query the database if the player alive in sync player on the server (in the file "server_playerSync.sqf" ?) and write the new value to humanity if the player was not alive.
My last attempt to send data to humanity in the file "server_playerDied.sqf" looks like this:
Question
kenguru74
Greetings surviving!
Please help me figure out - during what moment and in what form should be sent the values of humanity reduced to the database when a player dies?
A few months trying to do it all to no avail.
I tried to make it through the client and on the server side, the level of humanity is reduced, but not saved. Tried several hundreds of options, but my ignorance scripting leads to the same result - the database changed values are not entered. Now suppose that all the records in the database are terminated when a player dies.
Help properly query the database if the player alive in sync player on the server (in the file "server_playerSync.sqf" ?) and write the new value to humanity if the player was not alive.
My last attempt to send data to humanity in the file "server_playerDied.sqf" looks like this:
Will be eternally grateful for any help! Thanks in advance!
Link to comment
Share on other sites
5 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