SA-MP Forums Archive
Array Must Be Indexed - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Array Must Be Indexed (/showthread.php?tid=435166)



Array Must Be Indexed - TKZ227 - 05.05.2013

pawn Код:
new pTestConfirmation[MAX_PLAYERS];

#define pTestConfirmationStage1 20001

//Later on

pTestConfirmation[playerid] = pTestConfirmationStage1;
Error:

pawn Код:
error 033: array must be indexed (variable "pTestConfirmation")



Re: Array Must Be Indexed - TKZ227 - 05.05.2013

Please close. Problem solved.