29.01.2015, 23:11
So yea, I wanted to make the sniper kills someone from 1 shot.
Can anyone help me?
Can anyone help me?
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(weaponid == 34)
{
SetPlayerHealth(playerid, 0.0);
}
return 1;
}