Skip to content

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. Hundreds at once are fine: the slots are empty on the server at once, and the players are told at a pace (ResetWorldItems).

TakeWorldItem(key)
Parameter Type
key string the item slot’s level name

boolean

TakeWorldItem("ItemSlot243")

RespawnWorldItem · GetWorldItem · the Doors and containers group of the index