SA-MP Forums Archive
error 033: array must be indexed (variable "pAKA") - 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: error 033: array must be indexed (variable "pAKA") (/showthread.php?tid=411489)



error 033: array must be indexed (variable "pAKA") - Hardwell - 29.01.2013

Код:
pAKA = INI_ParseFile("aka.ini",ip);
How do I resolve this?

Thanks!


Re : error 033: array must be indexed (variable "pAKA") - Hardwell - 29.01.2013

up??


Re: error 033: array must be indexed (variable "pAKA") - zde5 - 29.01.2013

write the line where pAKA is defined.


Re : error 033: array must be indexed (variable "pAKA") - Hardwell - 29.01.2013

it's not defined...just new pAKA[256];
i dont know why...but with dini work.


Re: error 033: array must be indexed (variable "pAKA") - zde5 - 29.01.2013

Because pAKA is array. you cant assign values by using "pAKA = something;". to assign value to array you have to do "pAKA[0 .. 255] = something;".


Re : error 033: array must be indexed (variable "pAKA") - Hardwell - 29.01.2013

I find other aka system...Solved! T/C