Quote:
Originally Posted by MP2
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?