can't fix error 032: array index out of bounds
#7

It'd be easier on everyone's behalf if you specified which line is line 809. The only thing that comes to mind is that playerclass[playerid] is either less than 0 or greater than 9.

EDIT: After further review I've come to notice this:
pawn Код:
weaponnames[playerclass[playerid]][wnt]
Change it to:
pawn Код:
weaponnames[playerclass[playerid]][WeaponNames]
Also, I suggest you remove "string" from the combination entirely. Just use
pawn Код:
TextDrawSetString(OPRQwnp[playerid], weaponnames[playerclass[playerid]][WeaponNames]);
Reply


Messages In This Thread
can't fix error 032: array index out of bounds - by aqu - 19.01.2012, 18:44
Re: can't fix error 032: array index out of bounds - by Vince - 19.01.2012, 19:06
Re: can't fix error 032: array index out of bounds - by aqu - 19.01.2012, 19:12
Re: can't fix error 032: array index out of bounds - by MP2 - 19.01.2012, 19:28
Re: can't fix error 032: array index out of bounds - by aqu - 19.01.2012, 19:31
Re: can't fix error 032: array index out of bounds - by aqu - 19.01.2012, 19:35
Re: can't fix error 032: array index out of bounds - by Tannz0rz - 19.01.2012, 19:43
Re: can't fix error 032: array index out of bounds - by aqu - 19.01.2012, 19:47

Forum Jump:


Users browsing this thread: 1 Guest(s)