[Ajuda] Carro
#5

Quote:
Originally Posted by Ouro
View Post
pawn Code:
public OnPlayerUpdate(playerid)
{
    new vehicleid, Float:Lataria;
    vehicleid = GetPlayerVehicleID(playerid);
    GetVehicleHealth(vehicleid, Lataria);
    if(Lataria < 300)
    {
        GameTextForPlayer(playerid, "Falha no Motor", 3000, 4);
    }
    return 1;
}
Infelizmente, nгo sei fazer com que o motor desligue.
й melhor criar um Timer de 2 segundos ou isso.
Reply


Messages In This Thread
Carro - by Waldrey - 06.10.2012, 21:14
Re: Carro - by FeelLikeASir_ - 06.10.2012, 21:36
Re: Carro - by Ouro - 06.10.2012, 21:41
Re: Carro - by FeelLikeASir_ - 06.10.2012, 21:48
Re: Carro - by StreetGT - 06.10.2012, 22:41

Forum Jump:


Users browsing this thread: 2 Guest(s)