SA-MP Forums Archive
array must be indexed (variable "MedicBill") - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: array must be indexed (variable "MedicBill") (/showthread.php?tid=151835)



array must be indexed (variable "MedicBill") - Ihsan_Cingisiz - 01.06.2010

What does that mean, indexed?


Re: array must be indexed (variable "MedicBill") - Ihsan_Cingisiz - 01.06.2010

Nevermind i found it



Re: array must be indexed (variable "MedicBill") - Backwardsman97 - 01.06.2010

Just if you didn't give a certain index of that array to be used.

pawn Код:
new array[4];

array = 2;
That would be incorrect. Needs to be something like this.

pawn Код:
new array[4];

array[0] = 2;
Edit:Shit