CityRP Documentation Repository

core.plugins.rep.cl_init

Roleplay Experience Point (REP) system.

Functions

Clientrep_menu(mode, targetName, targetSteamID, data)Source ☍

Opens the REP management menu. re-resolve them from a name.

Parameters

  • modestringThe mode to open in: give, take, or view.
  • targetNamestringThe display name of the player the menu is being opened for.
  • targetSteamIDstringThe SteamID of that player, echoed back so the server never has to
  • datatable?List of REP rows for the target player.
Clienttable_filled(tbl) → booleanSource ☍

Returns whether a numerically indexed table has any rows.

Parameters

  • tbltable?The table to check.

Returns

  1. booleanWhether the table has data.