[Pedido] sitema de headshot
#3

pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart) {

    if ( bodypart == BODY_PART_HEAD && weaponid >= 22 && weaponid <= 34 ) {
   
        SetPlayerHealth(damagedid, 0.0);
        GameTextForPlayer(playerid, "~r~Headshot!", 1000, 4);
    }
   
    return 1;
}
OBS:Funcional apenas para o SA-MP 0.3z!
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: 3 Guest(s)