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



Numbers problem - Airingas - 09.02.2011

vehicles.pwn(2701) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.


2701 SetVehicleNumberPlate(SVehInfo [ vehicleid ][ vPlate ]);

Help me plz


Re: Numbers problem - Calgon - 09.02.2011

I assume vehicleid is the vehicle ID you need to assign to, so replace the code with:

pawn Код:
SetVehicleNumberPlate(vehicleid, SVehInfo[vehicleid][vPlate]);
You forgot to set a vehicle ID for the function to assign the new plate string to.


Re: Numbers problem - Airingas - 09.02.2011

oh thx man