09.02.2011, 18:23
pawn Код:
new Float:health;
GetVehicleHealth(vehicleid, health);
if(health == 280)
{
SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,0,0,0,0,0,0);
return 1;
}
Quando o health do veнculo chegar а 280, o veнculo desliga. Equivalente ao /motoroff.