Little help with engine script
#6

pawn Код:
new Float:vhp;
if(GetVehicleHealth(playerid, vhp) < 250)
{
    new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vehicleid, 0, lights, alarm, doors, bonnet, boot, objective); // ONLY the engine param was changed (to 0) (OFF)
    return 1;
}
// other codes
Reply


Messages In This Thread
Little help with engine script - by barts - 10.01.2014, 14:17
Re: Little help with engine script - by IceShock - 10.01.2014, 14:34
Re: Little help with engine script - by barts - 10.01.2014, 14:38
Re: Little help with engine script - by IceShock - 10.01.2014, 14:39
Re: Little help with engine script - by barts - 10.01.2014, 14:42
Re: Little help with engine script - by newbie scripter - 10.01.2014, 14:47
Re: Little help with engine script - by IceShock - 10.01.2014, 14:48
Re: Little help with engine script - by barts - 10.01.2014, 15:06

Forum Jump:


Users browsing this thread: 1 Guest(s)