06.10.2013, 07:12
ok sorry for wrong understand.
Add this in any where in your script
https://sampwiki.blast.hk/wiki/Weapons
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
if(issuerid != INVALID_PLAYER_ID && weaponid == 34)
{
// This for sniper rifle when someone use it and shoot the shooted player will die from first shoot
SetPlayerHealth(playerid, 0.0);
}
return 1;
}
https://sampwiki.blast.hk/wiki/Weapons

