Don't take good damage.
#1

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(PlayerFalled[playerid] == true)
    {
    new Float:health;
    GetPlayerHealth(playerid,health);                  
    SetPlayerHealth (playerid, amount);
    }  
    return 1;
}
If i type SetPlayerHealth (playerid, amount + health); // he give EXTRA health ( amount) I want to make SIMPLE to don't take damage only that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)