16.09.2010, 06:43
(
Последний раз редактировалось [03]Garsino; 17.09.2010 в 08:26.
)
I suggest
O and if you return 0 the player wouldn't lose health
pawn Код:
public OnPlayerDamage(playerid, float:damage, source, attacker = INVALID_PLAYER_ID)
// Playerid being the player who lose health, damage being the health lost, source being the reason for health loss (falling, explosion, drowning, getting shooted at, etc) and attacker being the attacker (if there is any)
