CharHeal command
Command defined in commands/sh_charheal.lua
Registers /CharHeal, which heals the character being looked at with a health_vial, health_kit or bandage
from the player's inventory, or repairs a scanner with a power_node.
The target must be within 192 units and the player must not be tied. The amount healed comes from
Schema:GetHealAmount, and a successful heal runs the PlayerHealed hook.
Summary
Methods
OnRun(player, arguments)shared
Heals the character being looked at with the item named in the first argument.
Methods
Heals the character being looked at with the item named in the first argument.
health_vial, health_kit and bandage heal by Schema:GetHealAmount and run the PlayerHealed hook;
power_node fully repairs a scanner.
Parameters
- player
- arguments