View Single Post
Hallucinogenic Troll
Senior Member
Join Date: Apr 2015
Old 05-27-2018 , 14:53   Re: [CS:GO ZR] Simple Rank System (V1.1, 25-05-2018)
Reply With Quote #6

Version 1.2 Released!

The CFG Files are now in cfg/zr_rank instead of cfg/sourcemod
  • Added an API so that developers can make another plugins related to this plugin! Natives added:
    • ZR_Rank_GetPoints(int client); - It will return the number of points that a player has;
    • ZR_Rank_SetPoints(int client, int points); - It will set the number of points that you want, on a player;
  • Added a CVAR zr_rank_minplayers to set the minimum players that it's needed to get or lose points when you are infected/killed;
  • Added a CVAR zr_rank_beinginfected to set the number of points that you lose when you get infected by a zombie;
  • Added a CVAR zr_rank_beingkilled to set the number of points that you lose when you are killed by a human;
  • Added a Sub-plugin [ZR Rank] Connect Message which shows a message when a player connects. It has the following CVARs:
    • zr_rank_connectmessage_type (Default: 1) - Type of HUD that you want to use in the connect message (0 = Disable, 1 = HintText, 2 = CenterText, 3 = Chat, 4 = HudText);
    • zr_rank_connectmessage_hudtext_red (Default: 255) - RGB Code for the Red Color used in the HudText ("zr_rank_connectmessage_type" needs to be set on 4);
    • zr_rank_connectmessage_hudtext_green (Default: 255) - RGB Code for the Green Color used in the HudText ("zr_rank_connectmessage_type" needs to be set on 4);
    • zr_rank_connectmessage_hudtext_blue (Default: 255) - RGB Code for the Blue Color used in the HudText ("zr_rank_connectmessage_type" needs to be set on 4);
__________________

Last edited by Hallucinogenic Troll; 05-27-2018 at 14:54. Reason: Fixed typos
Hallucinogenic Troll is offline