FactoryBigDispenserAdd command
Command defined in plugin/commands/sh_bigfactorydispenseradd.lua
Part of Ration Factory
Registers the superadmin command /FactoryBigDispenserAdd of the Ration Factory plugin, which spawns a
cw_bigfactorydispenser for empty ration packets or empty crates where the player is looking.
Originally written for the Iron Wall community.
Summary
Methods
OnRun(player, arguments)shared
Spawns a big factory dispenser where the player looks, facing them.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/cwhl2rp/plugins/rationfactory/plugin/commands/sh_bigfactorydispenseradd.lua:16Spawns a big factory dispenser where the player looks, facing them.
Argument 1 picks what it produces: 1 for empty ration packets, 2 for empty supply crates.
Parameters
- player
- arguments