25.01.2015, 17:46
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.
And you can put more code ofc.
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;
}