Health Kit item
Item defined in items/sh_health_kit.lua
Defines the Health Kit medical item for the Metropolice Force and Overwatch factions, which heals twice
Schema:GetHealAmount and has a Give option that runs the CharHeal command on another character.
Summary
Methods
Runs the
CharHeal command with this item when the Give option is chosen.OnDrop(player, position)shared
Lets the item be dropped; nothing else happens.
Heals the player by
Schema:GetHealAmount times 2, capped at max health, and fires the PlayerHealed hook.Methods
Runs the CharHeal command with this item when the Give option is chosen.
Parameters
- player
- name
Lets the item be dropped; nothing else happens.
Parameters
- player
- position
Heals the player by Schema:GetHealAmount times 2, capped at max health, and fires the PlayerHealed hook.
Parameters
- player
- itemEntity