Array index out of bounds
#2

The first thing comes to my mind is random function with a negative or zero value as parameter. Instead of guessing and searching what custom function that was called in OnPlayerSpawn has 2 parameters (playerid, something_else), you can compile with debug info* and get the exact line.

*Create pawn.cfg file (if you cannot get the extension, copy-paste server.cfg and rename it) into pawno folder and write -d3 in it. Re-compile your script (mss.pwn) and reproduce it to get the new results.
Reply


Messages In This Thread
Array index out of bounds - by TheHonnor - 18.10.2016, 15:21
Re: " Array index out of bounds " - by Konstantinos - 18.10.2016, 15:39
Re: Array index out of bounds - by TheHonnor - 18.10.2016, 19:04

Forum Jump:


Users browsing this thread: 2 Guest(s)