Random playerinfo bug.. ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Random playerinfo bug.. ? (
/showthread.php?tid=563427)
Random playerinfo bug.. ? -
Metharon - 15.02.2015
Ok , i get a big bug.. for example some players on register it gets 210 $ , the next one 220$ ... idk why it increases..
and someone gets Driving licenses = 1 ... and this isn't a gf edit is mysql start by me ..
and i already defined the datas on start.. for example on startup i set
pawn Код:
PlayerInfo[playerid][pLicentaZbor] = 0;
but on game when a player type /licenses it gets playerinfo plicentazbor == 1 .....
Why is this bug happening .. ? is also happening for example when me HATTOLDY register , a player named "HATTOLDY2"gets my data..
Код:
format(szQuery, 500, "SELECT * FROM `accounts` WHERE `Name` = '%s' LIMIT 1;", GetName(playerid));
mysql_tquery(SQL, szQuery, "LoadPlayerData", "d", playerid);
AutentificareTimerVariabile[playerid] = 250;
this is how i'm taking the data..