24.06.2016, 10:40
(
Последний раз редактировалось HydraHumza; 24.06.2016 в 17:02.
)
Hello SA-MP Members
I hope all are good. I am having a strange issue
public OnPlayerStateChange(playerid,newstate,oldstate)
What can be issue ?
the player is just for 24 players or what?
I hope all are good. I am having a strange issue
Код:
[12:29:09] [debug] Run time error 4: "Array index out of bounds" [12:29:09] [debug] Accessing element at index 25 past array upper bound 24 [12:29:09] [debug] AMX backtrace: [12:29:09] [debug] #0 000f9b18 in public OnPlayerStateChange (25, 2, 1) from Test.amx
What can be issue ?
Код:
undef MAX_PLAYERS #define MAX_PLAYERS 100