PDA

View Full Version : Warnings...wierd.


Jack.7331
08/04/2012, 09:19 AM
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

Reklez
08/04/2012, 09:22 AM
actually you forgot the doors


SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);

Cjgogo
08/04/2012, 09:23 AM
You forgot bonnet after boot.Look at the number of argumentss of the function:http://wiki.sa-mp.com/wiki/SetVehicleParamsEx

Reklez
08/04/2012, 09:24 AM
You frogot bonnet after boot.Look at the number of argumentss of the function:http://wiki.sa-mp.com/wiki/SetVehicleParamsEx

actually wrong he forgot the doors after the alarm

Jack.7331
08/04/2012, 09:28 AM
Thanks, I can't belive I missed that.