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



Warnings...wierd. - Jack.7331 - 08.04.2012

I got an engine command off the internet, it compiles fine, but it gives me warnings, I've done several other commands like that, yet no warnings?

SetVehicleParamsEx(vehicleid, engine, lights, alarm, bonnet, 1, objective);
and
SetVehicleParamsEx(vehicleid, engine, lights, alarm, bonnet, 0, objective);

Warning is: number of arguments does not match definition


Re: Warnings...wierd. - Reklez - 08.04.2012

actually you forgot the doors

pawn Код:
SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);



Re: Warnings...wierd. - Cjgogo - 08.04.2012

You forgot bonnet after boot.Look at the number of argumentss of the function:https://sampwiki.blast.hk/wiki/SetVehicleParamsEx


Re: Warnings...wierd. - Reklez - 08.04.2012

Quote:
Originally Posted by Cjgogo
Посмотреть сообщение
You frogot bonnet after boot.Look at the number of argumentss of the function:https://sampwiki.blast.hk/wiki/SetVehicleParamsEx
actually wrong he forgot the doors after the alarm


Re: Warnings...wierd. - Jack.7331 - 08.04.2012

Thanks, I can't belive I missed that.