StorageGiveCash command
Command defined in core/commands/sh_storagegivecash.lua
Registers the /StorageGiveCash command, which moves some of the caller's cash into the storage they have open.
Summary
Methods
OnRun(player, arguments)shared
Puts some of the caller's cash into the open storage; the argument is the amount.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/catwork/gamemode/core/commands/sh_storagegivecash.lua:14Puts some of the caller's cash into the open storage; the argument is the amount.
For a player storage the cash goes to that player. Respects the storage's weight and space and its
CanGiveCash/OnGiveCash callbacks, and refuses one-sided storages.
Parameters
- player
- arguments