Defines the Steroids medical item, which refills stamina and boosts strength by 30 for seven minutes.

Summary

Methods

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

Methods

ITEM:OnDrop(player, position)

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

Lets the item be dropped; nothing else happens.

Parameters

  • player
  • position

ITEM:OnUse(player, itemEntity)

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

Sets stamina to 100 and boosts strength by 30 for seven minutes.

Parameters

  • player
  • itemEntity

Defined in