CityRP Documentation Repository

core.plugins.itemgrantmenu.sv_init

Item grant menu, server side.

Functions

Servercityrp.itemgrant.open(ply, command, arguments) → booleanSource ☍

Opens the item grant menu for a part-typed command.

Parameters

  • plyPlayerThe player who ran the command.
  • commandstringThe command name.
  • argumentstable<number, string>What the command was given.

Returns

  1. boolean

Fields

Servercityrp.itemgrantSource ☍

Entry point for the item commands, which check for it so a disabled plugin leaves them working.