SA-MP Forums Archive
ERROR ? - 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: ERROR ? (/showthread.php?tid=210336)



ERROR ? - NewbBeginner - 12.01.2011

I have this line:
Код:
CarInfo[vehicleid][licenseplate] = inputtext;
and error is:
Код:
C:\Users\pwn(1096) : error 006: must be assigned to an array
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: ERROR ? - TouR - 12.01.2011

CarInfo[vehicleid][licenseplate] = strval(inputtext);

This should work