[Pedido] sitema de headshot
#10

Davi54723

1- No Comeco Ele Disse 1 Tiro Em Qualquer Parte Do Corpo
2- E o ID 34 E a Sniper Nao E O Id Do Player
3- Isso Pode Modificar Para Ficar So Um Tipo De Skin Usando
Exemplo:
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(GetPlayerSkin(issuerid)) == 286)//Skin Do FBI
    {
        if(GetPlayerWeapon(issuerid)) == 34)// ID Da Arma No Caso 34 Sniper Rifle
        {
            new Float:hp;
            GetPlayerHealth(playerid,hp);//Geta Para Ver A Vida
            SetPlayerHealth(playerid, hp -100);// Seta A Vida A 0
        }
    }
}
Assim So Quem Tem A Skin Do FBI Mata Com 1 Tiro
Reply


Messages In This Thread
sitema de headshot - by xXCallXX - 11.02.2014, 20:53
Re: sitema de headshot - by Leopawno - 11.02.2014, 21:11
Re: sitema de headshot - by Gii - 11.02.2014, 21:30
Re: sitema de headshot - by xXCallXX - 11.02.2014, 21:38
Re: sitema de headshot - by Leopawno - 11.02.2014, 22:00
Re: sitema de headshot - by xXCallXX - 11.02.2014, 22:01
Re: sitema de headshot - by Leopawno - 11.02.2014, 22:12
Re: sitema de headshot - by LucasPR2013 - 12.02.2014, 01:50
Re: sitema de headshot - by davi54723 - 12.02.2014, 17:33
Re: sitema de headshot - by LucasPR2013 - 12.02.2014, 22:27

Forum Jump:


Users browsing this thread: 1 Guest(s)