09.08.2011, 23:19
Why my Skin save system fails sometimes aleatory?
Sometimes a player lost his skin, because the system saves a crazy variable like 1953722216 , and his skin return to 0 (CJ).
This happens appareantly aleatory, most of times it works, but sometimes it fails.
I save it with the last MYSQL version with this:
MySQLUpdatePlayerInt(query, PlayerInfo[playerid][pSQLID], "Chara", GetPlayerSkin(playerid));
in OnPlayerUpdate2 function (which have godfather and all these famous roleplays).
Somebody can help me?
Thanks, and sorry for my bad English.
Sometimes a player lost his skin, because the system saves a crazy variable like 1953722216 , and his skin return to 0 (CJ).
This happens appareantly aleatory, most of times it works, but sometimes it fails.
I save it with the last MYSQL version with this:
MySQLUpdatePlayerInt(query, PlayerInfo[playerid][pSQLID], "Chara", GetPlayerSkin(playerid));
in OnPlayerUpdate2 function (which have godfather and all these famous roleplays).
Somebody can help me?
Thanks, and sorry for my bad English.