Thread: [Ajuda] Carro
View Single Post
Old 06/10/2012, 09:41 PM   #3
Ouro
Huge Clucker
 
Ouro's Avatar
 
Join Date: Sep 2012
Posts: 329
Reputation: 15
Default Re: Carro

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.
Ouro is offline   Reply With Quote