[FIXED]Crash Detect Warning on Created Callback - 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: [FIXED]Crash Detect Warning on Created Callback (
/showthread.php?tid=423672)
[FIXED]Crash Detect Warning on Created Callback - Patrick - 18.03.2013
[FIXED]
Re: [FIXED]Crash Detect Warning on Created Callback -
kamzaf - 18.03.2013
Quote:
Originally Posted by pds2012
EDIT
[FIXED]
Found the problem on the loop
it should be
pawn Код:
for (new i = 0; i > MAX_PLAYERS; i++)//loop for all players
Instead of
pawn Код:
for (new i = 0; i < MAX_PLAYERS; i++)//loop for all players
|
huh?
https://sampwiki.blast.hk/wiki/Loops
Re: [FIXED]Crash Detect Warning on Created Callback - Patrick - 18.03.2013
kamzaf i know. i forgot to re-edit it. but thats not the code that fixed the problem. i found the solution which caused the problem