Raised This Month: $ Target: $400
 0% 

[REQ] CS:GO Disable K/D on scoreboard


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wallakmi
Junior Member
Join Date: Oct 2014
Old 10-26-2014 , 15:58   [REQ] CS:GO Disable K/D on scoreboard
Reply With Quote #1

Hi,

I've been wondering if there is any plugin for CS:GO to disable the K/D on scoreboard.
That's to avoid players to check their K/D every round and feel bad if the K/D is negative or something.
[That's for team games ofc]
Thanks!
I know I can just unbind tab but its just not the same xD
wallakmi is offline
wallakmi
Junior Member
Join Date: Oct 2014
Old 10-28-2014 , 06:28   Re: [REQ] CS:GO Disable K/D on scoreboard
Reply With Quote #2

anyone please?
wallakmi is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 10-28-2014 , 07:16   Re: [REQ] CS:GO Disable K/D on scoreboard
Reply With Quote #3

You can probably zero it out... Constantly overwriting the values in the rules entity.
Also, there is a key for in_score, not sure if it can be blocked by the server though.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-28-2014 , 10:11   Re: [REQ] CS:GO Disable K/D on scoreboard
Reply With Quote #4

Quote:
Originally Posted by friagram View Post
You can probably zero it out... Constantly overwriting the values in the rules entity.
Also, there is a key for in_score, not sure if it can be blocked by the server though.
Server cant block scoreboard, you have the right idea on the score though, im guessing this is for a hunger games server also.
Mitchell is offline
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 10-28-2014 , 11:09   Re: [REQ] CS:GO Disable K/D on scoreboard
Reply With Quote #5

You can hide players completely from scoreboard. Like here
Code:
#include <sdkhooks> public OnConfigsExecuted() {     SDKHookEx(GetPlayerResourceEntity(), SDKHook_ThinkPost, OnResourceThink) } public OnResourceThink(entity) {     static m_bConnected;     if (!m_bConnected)     {         switch (GetEngineVersion())         {             case Engine_DODS:             {                 m_bConnected = FindSendPropOffs("CDODPlayerResource", "m_bConnected");             }             case Engine_TF2:             {                 m_bConnected = FindSendPropOffs("CTFPlayerResource", "m_bConnected");             }             case Engine_CSGO, Engine_CSS:             {                 m_bConnected = FindSendPropOffs("CCSPlayerResource", "m_bConnected");             }         }     }     for (new i = 1; i <= MaxClients; i++)     {         if (IsClientInGame(i))         {             SetEntData(entity, m_bConnected + (i * 4), false, true, true);         }     } }
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot
Root_ is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-28-2014 , 13:17   Re: [REQ] CS:GO Disable K/D on scoreboard
Reply With Quote #6

Quote:
Originally Posted by Root_ View Post
You can hide players completely from scoreboard. Like here
Code:
#include <sdkhooks> public OnConfigsExecuted() {     SDKHookEx(GetPlayerResourceEntity(), SDKHook_ThinkPost, OnResourceThink) } public OnResourceThink(entity) {     static m_bConnected;     if (!m_bConnected)     {         switch (GetEngineVersion())         {             case Engine_DODS:             {                 m_bConnected = FindSendPropOffs("CDODPlayerResource", "m_bConnected");             }             case Engine_TF2:             {                 m_bConnected = FindSendPropOffs("CTFPlayerResource", "m_bConnected");             }             case Engine_CSGO, Engine_CSS:             {                 m_bConnected = FindSendPropOffs("CCSPlayerResource", "m_bConnected");             }         }     }     for (new i = 1; i <= MaxClients; i++)     {         if (IsClientInGame(i))         {             SetEntData(entity, m_bConnected + (i * 4), false, true, true);         }     } }
This has serious draw backs. like seeing who is actually in the game... he just wanted it to not display player's kills/deaths so player cant tell if another player killed each other, etc.

I used something like this in my survival games server:
Spoiler

Last edited by Mitchell; 10-28-2014 at 13:20.
Mitchell is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 10-29-2014 , 05:04   Re: [REQ] CS:GO Disable K/D on scoreboard
Reply With Quote #7

Yeah, and just failstate it, that fires a lot
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-29-2014 , 08:58   Re: [REQ] CS:GO Disable K/D on scoreboard
Reply With Quote #8

Quote:
Originally Posted by friagram View Post
Yeah, and just failstate it, that fires a lot
???
Mitchell is offline
wallakmi
Junior Member
Join Date: Oct 2014
Old 10-29-2014 , 09:13   Re: [REQ] CS:GO Disable K/D on scoreboard
Reply With Quote #9

Quote:
Originally Posted by Mitchell View Post
This has serious draw backs. like seeing who is actually in the game... he just wanted it to not display player's kills/deaths so player cant tell if another player killed each other, etc.

I used something like this in my survival games server:
Spoiler
I just tried to compile this with http://www.sourcemod.net/compiler.php but I've got this errors:
/groups/sourcemod/upload_tmp/textuof6GY.sp(4) : error 017: undefined symbol "FindEntityByClassname"
/groups/sourcemod/upload_tmp/textuof6GY.sp(6) : error 017: undefined symbol "SDKHook"

2 Errors.

Am I doing something wrong? [ I'm really new into this ].

Thanks.
wallakmi is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-29-2014 , 11:00   Re: [REQ] CS:GO Disable K/D on scoreboard
Reply With Quote #10

Yeah, add
"#include <sdkhooks>"
and
"#include <sdktools>"
at the top of the script
Mitchell is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode