Player ID Variable Changing: - 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: Player ID Variable Changing: (
/showthread.php?tid=448343)
Player ID Variable Changing: -
Kyle - 04.07.2013
printf("#5 cpid = %d", playerid);
format(finalsd, 60, ",Pay Outstanding Ticket|%s,List Jailed Players|-1", stringticket);
printf("#6 cpid = %d", playerid);
Debug "#5" prints out "2" as the value of playerid, but once the format has been executed the value of "#6" changes to 108. How is this possible?
Re: Player ID Variable Changing: -
jamesbond007 - 04.07.2013
try crashdetect? maybe u have error in ur script