Vehicles - Instantly Crashing Players - WTF
#4

Quote:
Originally Posted by xkirill
View Post
"Accessing element at index 999 past array upper bound 500"
means your array is too small, therefore, when he tries to access a specific cell that is greater than the size set, it returns an error.

For example :
if you have an array per player and the max. first dimesion's size is MAX_PLAYERS (500)
pawn Code:
new score[MAX_PLAYERS];
then when you'll try to access 501, it will return the error - array out of bounds.

exmaple 2:
if you store vehicles ids in arrays and the max. array size is set to 600, and you try to create 601 vehicles, it will return this error.
so confused.

Can you please find the error at the codes on pastebin ?
Reply


Messages In This Thread
Vehicles - Instantly Crashing Players - NEED HELP PLIS T_T - by PawnOX - 13.09.2014, 12:20
Re: Vehicles - Instantly Crashing Players - WTF - by PawnOX - 13.09.2014, 12:50
Re: Vehicles - Instantly Crashing Players - WTF - by Kaperstone - 13.09.2014, 12:58
Re: Vehicles - Instantly Crashing Players - WTF - by PawnOX - 13.09.2014, 13:08
Re: Vehicles - Instantly Crashing Players - WTF - by PawnOX - 13.09.2014, 13:16
Re: Vehicles - Instantly Crashing Players - WTF - by PawnOX - 13.09.2014, 23:30
Re: Vehicles - Instantly Crashing Players - WTF - by PawnOX - 14.09.2014, 00:25

Forum Jump:


Users browsing this thread: 1 Guest(s)