05.05.2011, 01:01
Quote:
pawn Код:
|
pawn Код:
new Consertado[MAX_VEHICLES];
public OnVehicleDamageStatusUpdate( vehicleid, playerid )
{
new Float:Vida;
GetVehicleHealth( vehicleid, Vida );
new carid = GetVehicleModel(vehicleid);
if( Vida < 250 && carid == 425 || carid == 427 || carid == 428 || carid == 432 || carid == 497 && Consertado[vehicleid] != 1)
{
SetVehicleHealth(vehicleid,2000);
Consertado[vehicleid] = 1;
}
return 1;
}