[Pedido] sitema de headshot
#8

Isso Talvez Funcione

Obs: Nao Testei

Se Funcionar +rep

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(GetPlayerWeapon(issuerid)) == 34)// Geta 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
    }
}
Resumo: Qualquer Um Que Usar A Sniper Rifle Vai Matar O Outro Player [Resolvi Um Bug]
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)