Run time error 4: "Array index out of bounds"
#1

Como podrнa resolver el siguiente error:

Quote:

[20:16:31] [debug] Run time error 4: "Array index out of bounds"
[20:16:31] [debug] Accessing element at index 5 past array upper bound 4
[20:16:31] [debug] AMX backtrace:
[20:16:31] [debug] #0 00043a88 in main () at C:\x\x\x\x\Sx\Linux\gamemodes\x.pwn:616
[20:16:31] Script[gamemodes/x.amx]: Run time error 4: "Array index out of bounds"
[20:16:31] Number of vehicle models: 0

Код:
for(new i = 0; i<500; i++)
	{
		labelStats[i] = Create3DTextLabel(" ", -1, 0.0, 0.0, 4000.0, 50.0, 0, 1); //Linea 616
	}
Reply


Messages In This Thread
Run time error 4: "Array index out of bounds" - by Blackaslan - 10.01.2017, 19:32
Respuesta: Run time error 4: "Array index out of bounds" - by JeffreyG - 10.01.2017, 19:39
Re: Respuesta: Run time error 4: "Array index out of bounds" - by Blackaslan - 10.01.2017, 19:49
Re: Run time error 4: "Array index out of bounds" - by Blackaslan - 10.01.2017, 20:22

Forum Jump:


Users browsing this thread: 1 Guest(s)