15.12.2012, 12:23
pawn Код:
new vehicleid = GetPlayerVehicleID(playerid);
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
if(engine == 1) {
// ENGINE IS RUNNING
}
else {
// ENGINE IS NOT RUNNING
}