core.plugins.rep.sv_init
REP Serverside.
- Serverrep_category_exists(category)Source ☍
-
Check if a rep category exists.
Parameters
- categoryanyThe category to check.
- Serverrep_get(player, category) → integerSource ☍
-
Get the REP count for a player, with an optional category filter.
Parameters
- playeranyThe player to list REP for.
- categoryanyOptional category filter.
Returns
- integernumber of REPs the player has.
- Serverrep_load(ply, callback)Source ☍
-
Load a players REP, with an optional callback for results.
Parameters
- plyanyThe player whos REP is being loaded.
- callbackanyOptional callback function, which recieves results table or 0.
- Serverrep_categoriesSource ☍
-
---------------- [[ HELPER FUNCTIONS ]] ------------------- The different types of REP avaliable.