Registers /VendorAdd, an admin command that spawns a cw_vendingmachine with a random stock of 10 to 20 where the player is looking.

Summary

Methods

Spawns a vending machine with random stock where the player is looking; takes no arguments.

Methods

COMMAND:OnRun(player, arguments)

shared gamemodes/cwhl2rp/schema/commands/sh_vendoradd.lua:10

Spawns a vending machine with random stock where the player is looking; takes no arguments.

Parameters

  • player
  • arguments

Defined in