SA-MP Forums Archive
please help i got a problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: please help i got a problem (/showthread.php?tid=546073)



please help i got a problem - Samieastwood - 12.11.2014

when someone trys to register they crash and in my samp log it says


PHP код:
[18:38:19] [debugRun time error 4"Array index out of bounds"
[18:38:19] [debug]  Accessing element at index 999 past array upper bound 500
[18:38:19] [debugAMX backtrace:
[
18:38:19] [debug#0 0007b21c in public RL_OnPlayerStateChange (0x00000001, 0x00000001, 0x00000008) from pla.amx
[18:38:19] [debug#1 native CallLocalFunction () [00472ad0] from samp-server.exe
[18:38:19] [debug#2 0001590c in public OnPlayerStateChange (0x00000001, 0x00000001, 0x00000008) from pla.amx 



Re: please help i got a problem - long76 - 12.11.2014

increase array in OnPlayerStateChange
example
pawn Код:
new player[500];  ->> new player[1000];



Re: please help i got a problem - Samieastwood - 12.11.2014

but mine does not say new player , want me to show you my OnPlayerStateChange?