Registers the /ContFill superadmin command, which fills the container the player is looking at with random items
to a scale of 1 to 5, optionally from one item category.
Summary
Methods
OnRun(player, arguments)shared
Fills the container the player is looking at with random items.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/catwork/plugins/storage/plugin/commands/sh_contfill.lua:16Fills the container the player is looking at with random items.
The first argument is a scale from 1 to 5 (5 fills it to its full capacity, 1 to a fifth of it); the optional second argument limits the items to categories containing that text.
Parameters
- player
- arguments