Little Help!
#2

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    new Float:HP;
    GetPlayerHealth(playerid, HP);
    if(weaponid == /*weapon id*/) SetPlayerHealth(playerid, /*the player's HP - normally it follows "HP - x", where x is the ammount of damage taken by each shot*/);
    return 1;
}
Reply


Messages In This Thread
Little Help! - by Sanady - 10.05.2014, 17:57
Re: Little Help! - by Twizted - 10.05.2014, 18:07

Forum Jump:


Users browsing this thread: 2 Guest(s)