04.10.2014, 06:05
Hi, I need to lower the weapon damage and not get as.
and I used this code:
But it has not worked. How could I do to lower the damage to the gun?
and I used this code:
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid) { new Float:HP; GetPlayerHealth(playerid, HP); if(weaponid == 25) SetPlayerHealth(playerid,HP-10.0); return 1; }