Command to save accounts
#5

Quote:
Originally Posted by MP2
View Post
The query should be like this:

Code:
format(x, sizeof(x), "UPDATE `users` SET p_level = %i, p_case = %i, p_score = %i WHERE Name = '%s'", pInfo[playerid][pLevel], pInfo[playerid][pCash], pInfo[playerid][pScore], pInfo[playerid][pName]);
I have to add this under OnPlayerDisconnect? If not, where?
Reply


Messages In This Thread
Command to save accounts - by fabriziobondi - 19.11.2011, 00:26
Re: Command to save accounts - by Cody_Maverak - 19.11.2011, 00:35
Re: Command to save accounts - by fabriziobondi - 19.11.2011, 01:48
Re: Command to save accounts - by MP2 - 19.11.2011, 01:56
Re: Command to save accounts - by fabriziobondi - 19.11.2011, 02:06
Re: Command to save accounts - by MP2 - 19.11.2011, 02:15
Re: Command to save accounts - by fabriziobondi - 19.11.2011, 02:26
Re: Command to save accounts - by dr.pepper - 19.11.2011, 02:27
Re: Command to save accounts - by fabriziobondi - 19.11.2011, 02:32
Re: Command to save accounts - by dr.pepper - 19.11.2011, 02:38

Forum Jump:


Users browsing this thread: 1 Guest(s)