Defines the Paracetamol medical item, which refills stamina and boosts endurance by 30 for two minutes.

Summary

Methods

Lets the item be dropped; nothing else happens.
Sets stamina to 100 and boosts endurance by 30 for two minutes.

Methods

ITEM:OnDrop(player, position)

shared gamemodes/cwhl2rp/schema/items/sh_paracetamol.lua:21

Lets the item be dropped; nothing else happens.

Parameters

  • player
  • position

ITEM:OnUse(player, itemEntity)

shared gamemodes/cwhl2rp/schema/items/sh_paracetamol.lua:15

Sets stamina to 100 and boosts endurance by 30 for two minutes.

Parameters

  • player
  • itemEntity

Defined in