TakeWorldItem
Empties a loose item slot by script.
The item vanishes on every client and the restock clock runs from now. Only for a slot the tables export lists for the
level; false for an unknown slot or one already empty.
Syntax
Section titled “Syntax”TakeWorldItem(key)| Parameter | Type | |
|---|---|---|
key |
string | the item slot’s level name |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”TakeWorldItem("ItemSlot243")See also
Section titled “See also”RespawnWorldItem · GetWorldItem · the Doors and containers group of the index
