PDA

View Full Version : Fire rate


Brys
14/08/2014, 06:08 PM
Hello,i Can make a gun fire rate like just the sniper,1 shot kills ?

Stinged
14/08/2014, 06:17 PM
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
{
if (weaponid == WEAPON_SNIPER)
{
SetPlayerHealth(damagedid, 0);
}
return 1;
}