Some Crash Errors in Logs - 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: Some Crash Errors in Logs (
/showthread.php?tid=563235)
Some Crash Errors in Logs -
ReD_HunTeR - 14.02.2015
fixed
Re: Some Crash Errors in Logs -
Kaperstone - 14.02.2015
probably you are declaring them as booleans when you create the arrays,
check for bool:array_name for the arrays that are used in codes you posted.
Re: Some Crash Errors in Logs -
ReD_HunTeR - 15.02.2015
i could'nt undertstand, can you tell me that again with example pls ? :/
Re: Some Crash Errors in Logs -
ReD_HunTeR - 15.02.2015
fixed
Re: Some Crash Errors in Logs -
Aerotactics - 15.02.2015
The issue
might be that -1 is out of range of MAX_PLAYERS, as MAX_PLAYERS is 0 to X.
Re: Some Crash Errors in Logs -
Aerotactics - 15.02.2015
Just noticed this:
pawn Код:
if(DuelRoom1 == playerid || DuelRoom1 == i)
Since you set DuelRoom1 to -1, i can never be -1.