10.01.2014, 14:47
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