Registers the /GiveCash command (alias /GiveTokens and two Russian aliases), which gives some of the caller's cash to the player they are looking at.

Summary

Methods

Gives some of the caller's cash to the player they are looking at; the argument is the amount.

Methods

COMMAND:OnRun(player, arguments)

shared gamemodes/catwork/gamemode/core/commands/sh_givecash.lua:15

Gives some of the caller's cash to the player they are looking at; the argument is the amount.

The target must be within 192 units. Unrecognised players are named by their unrecognised name.

Parameters

  • player
  • arguments

Defined in