SA-MP Forums Archive
error 006: must be assigned to an array - 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 006: must be assigned to an array (/showthread.php?tid=635651)



error 006: must be assigned to an array - akib - 11.06.2017

Hi,
I am getting this error >
Код:
error 006: must be assigned to an array
while compiling >
Код:
HouseInfo[i][Pass] = pass;



Re: error 006: must be assigned to an array - SyS - 11.06.2017

this "pass" variable would be an array and you are assigning to a plane variable located at HouseInfo[i][Pass]