08.11.2012, 04:23
I am getting this with the crashdetect plugin
When i go ingame, for a few seconds the textdraws appear then gta_sa crashes.
It started when i added some removebuildingforplayer lines(i have more than 1000 of them) but when i remove around 500 of them(of a specific city) game doesnt crash.
What could be the problem?
Code:
[11:09:35] [debug] Run time error 4: "Array index out of bounds" [11:09:35] [debug] Accessing element at index 72 past array upper bound 71 [11:09:35] [debug] AMX backtrace: [11:09:35] [debug] #0 002dff6c in ?? () from 2r-rp.amx [11:09:35] [debug] #1 002ad784 in public Itter_OnGameModeInit () from 2r-rp.amx [11:09:35] [debug] #2 native CallLocalFunction () [00472260] from samp-server.exe [11:09:35] [debug] #3 000098a0 in public SSCANF_OnGameModeInit () from 2r-rp.amx [11:09:35] [debug] #4 native CallLocalFunction () [00472260] from samp-server.exe [11:09:35] [debug] #5 000037e0 in public Streamer_OnGameModeInit () from 2r-rp.amx [11:09:35] [debug] #6 native CallLocalFunction () [00472260] from samp-server.exe [11:09:35] [debug] #7 000023d0 in public OnGameModeInit () from 2r-rp.amx
It started when i added some removebuildingforplayer lines(i have more than 1000 of them) but when i remove around 500 of them(of a specific city) game doesnt crash.
What could be the problem?