CityRP Documentation Repository

core.sv_commands

Generic CityRP Commands.

Functions

Servercityrp.acommands.limit(ply, tArg, typ, lmt) → boolean?Source ☍

Set (or report) one of a player's limits. Registered on - so Assistants and Event Managers can reach it at all; cityrp.limits.CanSet below is what actually holds them to prop limits.

Parameters

  • plyPlayerThe player running the command.
  • tArgstringThe target player argument.
  • typstring?The limit type to adjust. Omitted to list the target's current limits.
  • lmtstring?The new limit: a number, "reset" for the default, or "inf" for none.

Returns

  1. boolean?False when the command was rejected.

Fields

Servercityrp.disablesaveSource ☍
ServerEVENT_MODESource ☍