Argument Type Mismatch?
#5

This would be enough:
pawn Код:
if(GetPlayerState(playerid) != 2) return SendClientMessage(playerid, COLOR_RED, "[ERROR] You cannot use this command while you are not the driver of a vehicle!");
GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
if(lights != 1) SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, 1, alarm, doors, bonnet, boot, objective);
else SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, 0, alarm, doors, bonnet, boot, objective);
Reply


Messages In This Thread
Vehicle Lights Error - by Antonio [G-RP] - 11.01.2011, 03:49
Re: Argument Type Mismatch? - by John_F - 11.01.2011, 04:01
Re: Argument Type Mismatch? - by Antonio [G-RP] - 11.01.2011, 04:13
Re: Argument Type Mismatch? - by Antonio [G-RP] - 11.01.2011, 04:25
Re: Argument Type Mismatch? - by _rAped - 11.01.2011, 13:29
Re: Argument Type Mismatch? - by Antonio [G-RP] - 11.01.2011, 13:31
Re: Argument Type Mismatch? - by Anthonyx3' - 11.01.2011, 21:37
Re: Argument Type Mismatch? - by Kyosaur - 11.01.2011, 23:10

Forum Jump:


Users browsing this thread: 4 Guest(s)