core.sv_commands
Generic CityRP Commands.
- 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.CanSetbelow 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
- boolean?False when the command was rejected.