[AJUDA] Blindagem
#5

Presentinho do tio Hiu

pawn Код:
forward blindagem();
pawn Код:
public OnGameModeInit()
{
    SetTimer("blindagem", 2000, 1);
}
pawn Код:
public blindagem()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
    new carid = GetPlayerVehicleID(i);
    if(carid == 1)
    {
        new Float:Vida;
        if(GetVehicleHealth(carid, Vida) < 1000 )
        {
           RepairVehicle(carid);
           SetVehicleHealth(carid, 1000);
        }
    }
}
return true;
}
Reply


Messages In This Thread
[AJUDA] Blindagem - by marlon.dhd - 14.03.2012, 17:01
Re: [AJUDA] Blindagem - by Skun Fly - 14.03.2012, 17:07
Re: [AJUDA] Blindagem - by marlon.dhd - 14.03.2012, 17:11
Re: [AJUDA] Blindagem - by humildadeforever - 14.03.2012, 17:19
Re: [AJUDA] Blindagem - by Hiuship - 14.03.2012, 17:36
Re: [AJUDA] Blindagem - by marlon.dhd - 14.03.2012, 18:04
Re: [AJUDA] Blindagem - by Hiuship - 14.03.2012, 22:50
Re: [AJUDA] Blindagem - by steki. - 14.03.2012, 23:14
Re: [AJUDA] Blindagem - by Mercurio - 15.03.2012, 02:31
Re: [AJUDA] Blindagem - by DarkScripter - 15.03.2012, 03:39

Forum Jump:


Users browsing this thread: 5 Guest(s)