Defines the Syringe of Strychnine item (green_liquid) of the Diseases plugin, a slow lethal poison sold to
FACTION_MPF that gives its user, or the player being looked at through its Inject action, the
slow_deathinjection disease.
Summary
Methods
Injects the player being looked at with the slow lethal poison using "Inject".
OnDrop(player, position)shared
Lets the item be dropped, with no extra effect.
Injects the player with the slow lethal poison (
slow_deathinjection).Methods
ITEM:OnCustomFunction(player, name)
server gamemodes/cwhl2rp/plugins/diseases/plugin/items/sh_green_liquid.lua:28Injects the player being looked at with the slow lethal poison using "Inject".
Returns false when no player is looked at.
Parameters
- player
- name
ITEM:OnDrop(player, position)
shared gamemodes/cwhl2rp/plugins/diseases/plugin/items/sh_green_liquid.lua:42Lets the item be dropped, with no extra effect.
Parameters
- player
- position
ITEM:OnUse(player, itemEntity)
shared gamemodes/cwhl2rp/plugins/diseases/plugin/items/sh_green_liquid.lua:19Injects the player with the slow lethal poison (slow_deathinjection).
Parameters
- player
- itemEntity