21.12.2011, 16:08
Heya' guys.
I'm trying to get a license plate system going, and I'm having issues.
I did it using another vehicle system and it worked fine, and I used almost the exact same lines as I'm about to post.
Can anyone help me out? Thanks!
Error:
C:\Users\Eric\Desktop\SAMP Server\ET-RP\ET-RP\gamemodes\vx-rp.pwn(17012) : error 006: must be assigned to an array
I'm trying to get a license plate system going, and I'm having issues.
I did it using another vehicle system and it worked fine, and I used almost the exact same lines as I'm about to post.
Can anyone help me out? Thanks!
pawn Код:
new licenseplate[32];
format(licenseplate, sizeof(licenseplate), "%c%c%c %i%i%i%i",(65+random(26)),(65+random(26)),(65+random(26)),random(10),random(10),random(10),random(10));
vehicleVariables[i][vVehiclePlate] = licenseplate; (ERROR IS ON THIS LINE)
C:\Users\Eric\Desktop\SAMP Server\ET-RP\ET-RP\gamemodes\vx-rp.pwn(17012) : error 006: must be assigned to an array