warning 202: number of arguments does not match definition
#5

There is, if you want to keep them how they are, do the following (here, I will turn off the engines):
pawn Код:
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx( vehicleid, engine, lights, alarm, doors, bonnet, boot, objective );
SetVehicleParamsEx( vehicleid, VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective );
It only changes the value of the engine parameter and sets the others how they were before retrieving the values.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)