22.02.2017, 12:09
Quote:
Hello ! I don't know when / how, but for a part of players some variables are reseted. Sometimes, the job / skin / radioID and others variables get a wrong value (random). For example, i have 9 jobs on my server (max pJob] = 9). Sometime, a player has pJob] > 9 ( random: pJob] = 82, 101,110 ) but i dont know why. I used ctrl+f and find ' pJob] = ' on the entire GM and i didn't find anything like that. Also, pSkinID] gets another value. Sometime in ONPLAYERSPAWN the skin are changed without /buyskin or something. There I use just
Код HTML:
SetPlayerSkin(playerid, PlayerInfo[playerid][pSkinID]); This problem appears for many variables. I tried to fix it but i have no idea anymore. For what reason? Any ideas? PS: This is not happen when a few players are connected (max 10-15). I am not using #define MAX_PLAYERS 100 because if I put it all the queries(savedata) will be damaged. |