29.05.2011, 22:33
pawn Код:
public OnVehicleDamageStatusUpdate(vehicleid,playerid)
{
new Vida = GetVehicleHealth(vehicleid);
if(Vida <= 250)
{
TogglePlayerControllable(playerid, false);
GameTextForPlayer(playerid, "~w~Seu veiculo ~r~quebrou", 5000, 5);
}
return 1;
}