Lower the damage of weapons
#4

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    new Float:HP;

    GetPlayerHealth(playerid, HP);
    if(weaponid == 25)
    {
        SetPlayerHealth(playerid,HP-10.0);
        return 0;
    }
    return 1;
}
I guess this'll do what you wanted.
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)