Heal
This command heals a player, without changing the maximum health of the player. The difference between this command and HealthAdd, is that HealthAdd changes the maximum health a player is allowed; e.g. for regen etc.... Heal simply replenishes a players health.
The correct syntax is:
wcs.Command(<userid>).Heal(<amount>)
- Userid - The player who's being healed
- Amount - The amount to heal the player by
Example:
def player_hurt(ev):
player = wcs.Command(ev['userid'])
player.Heal(50)
Comments (0)
You don't have permission to comment on this page.