Help Head Shot with sniper
#8

You are here to learn, not to just get everything done for you.
Here's a quick example, it'll kill the player if he's hit by a sniper.
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
    if(weaponid == 34) SetPlayerHealth(playerid, 0);
    return 1;
}
And you can put more code ofc.
Reply


Messages In This Thread
Help Head Shot with sniper - by Mijata - 25.01.2015, 17:25
Re: Help Head Shot with sniper - by nezo2001 - 25.01.2015, 17:29
Re: Help Head Shot with sniper - by Mijata - 25.01.2015, 17:34
Re: Help Head Shot with sniper - by M4D - 25.01.2015, 17:34
Re: Help Head Shot with sniper - by Mijata - 25.01.2015, 17:36
Re: Help Head Shot with sniper - by nezo2001 - 25.01.2015, 17:39
Re: Help Head Shot with sniper - by Mijata - 25.01.2015, 17:41
Re: Help Head Shot with sniper - by CalvinC - 25.01.2015, 17:46
Re: Help Head Shot with sniper - by Mijata - 25.01.2015, 17:47
Re: Help Head Shot with sniper - by nezo2001 - 25.01.2015, 17:50

Forum Jump:


Users browsing this thread: 1 Guest(s)