Argument Type Mismatch?
#2

instead of using the number 1, you need a variable to store the current state of the lights in.
If you want to check if the lights are on, just do something like:
pawn Код:
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(GetVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
if(lights==1)
{
   enter code here
}
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: 3 Guest(s)