Lower the damage of weapons
#1

Hi, I need to lower the weapon damage and not get as.
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;
}
But it has not worked. How could I do to lower the damage to the gun?
Reply


Messages In This Thread
Lower the damage of weapons - by alonxx - 04.10.2014, 06:05
Re: Lower the damage of weapons - by Gogeta101 - 04.10.2014, 06:08
Respuesta: Lower the damage of weapons - by alonxx - 04.10.2014, 06:17
Re: Lower the damage of weapons - by DavidBilla - 04.10.2014, 06:24
Re: Lower the damage of weapons - by jamjamnewbie - 04.10.2014, 06:38
Re: Lower the damage of weapons - by Quickie - 04.10.2014, 07:18
Respuesta: Lower the damage of weapons - by alonxx - 04.10.2014, 16:01
Re: Lower the damage of weapons - by Pottus - 04.10.2014, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)