View Single Post
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 12-26-2014 , 15:24   Re: [CS:GO] Show Competitive Rank on Scoreboard
Reply With Quote #6

AFAIK even if you set ranks for everyone, players will able to see only their ranks. Opening CS:GO netprops will show you (Unsigned) or (Coord) or (NoScale) type nearby netprop values. If () is set, it means you cant send that to everyone but single player. You can try using this snippet
Code:
#include <sdkhooks> enum {     NotRanked,     SilverI,     SilverII,     SilverIII,     SilverIV,     SilverElite,     SilverEliteMaster,     GoldNovaI,     GoldNovaII,     GoldNovaIII,     GoldNovaMaster,     MasterGuardianI,     MasterGuardianII,     MasterGuardianElite,     DistinguishedMasterGuardian,     LegendaryEagle,     LegendaryEagleMaster,     SupremeMasterFirstClass,     TheGlobalElite } public OnEntityCreated(entity, const String:classname[]) {     if (StrEqual(classname, "player_manager", false)     || StrEqual(classname, "cs_player_manager", false))     {         SDKHookEx(entity, SDKHook_ThinkPost, OnResourceThink)     } } public OnResourceThink(entity) {     static m_iCompetitiveRanking = -1, playerrank[MAXPLAYERS + 1] = {TheGlobalElite, ...}     if (m_iCompetitiveRanking == -1)     {         m_iCompetitiveRanking = FindSendPropInfo("CCSPlayerResource", "m_iCompetitiveRanking")     }     SetEntDataArray(entity, m_iCompetitiveRanking, playerrank, MaxClients+1, _, true) }
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot
Root_ is offline