[Pedido] 2 Tiros de Pistola/Eagle e Morrer
#2

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
    if(weaponid == 24 ) // Detecta se a arma й uma eagle
    {
        new Float:Life = GetPlayerHealth(playerid, Life);
        SetPlayerHealth(playerid, Life /2); // Diminue a vida pela metade
    }
    return 1;
}
Reply


Messages In This Thread
2 Tiros de Pistola/Eagle e Morrer - by GustavoG3D - 15.07.2014, 00:12
Re: 2 Tiros de Pistola/Eagle e Morrer - by Duun - 15.07.2014, 00:24
Re: 2 Tiros de Pistola/Eagle e Morrer - by Duun - 15.07.2014, 00:38
Re: 2 Tiros de Pistola/Eagle e Morrer - by GustavoG3D - 15.07.2014, 01:41
Re: 2 Tiros de Pistola/Eagle e Morrer - by Duun - 15.07.2014, 15:16
Re: 2 Tiros de Pistola/Eagle e Morrer - by BrasilPlayGames - 16.07.2014, 02:44
Re: 2 Tiros de Pistola/Eagle e Morrer - by DiiMeNoR - 16.07.2014, 04:27
Re: 2 Tiros de Pistola/Eagle e Morrer - by BrasilPlayGames - 16.07.2014, 18:17

Forum Jump:


Users browsing this thread: 2 Guest(s)