Raised This Month: $ Target: $400
 0% 

[CS:GO] Show/Hide Players on Radar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Internet Bully
Member
Join Date: Apr 2014
Old 05-01-2014 , 18:30   [CS:GO] Show/Hide Players on Radar
Reply With Quote #1

PHP Code:
public OnClientPutInServer(client)
{
    
SDKHook(clientSDKHook_PostThinkRadar);
}

public 
Radar(client)
{
    if(
isAdmin(client))
        
SetEntPropEnt(clientProp_Send"m_bSpotted"0);
    else
        
SetEntPropEnt(clientProp_Send"m_bSpotted"1);

Example shows all non-admins permanently and hides all admins on radar. isAdmin is my own function, just do your own admin check.

We use it for flagging campers/AFKs on everyone's radar. If a player hasn't moved X units in Y time, show them on the radar to everyone. We also use it, depending on the mode, to always show the bombcarrier on radar to promote better teamwork.

Last edited by Internet Bully; 05-01-2014 at 18:34.
Internet Bully is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 05-01-2014 , 21:40   Re: [CS:GO] Show/Hide Players on Radar
Reply With Quote #2

Should that be SetEntProp instead of SetEntPropEnt?
hlstriker is offline
Internet Bully
Member
Join Date: Apr 2014
Old 05-02-2014 , 01:00   Re: [CS:GO] Show/Hide Players on Radar
Reply With Quote #3

Doesn't seem to make a difference in this case.
Internet Bully is offline
WiggPerson
Junior Member
Join Date: Dec 2013
Location: Slovakia
Old 05-04-2014 , 03:41   Re: [CS:GO] Show/Hide Players on Radar
Reply With Quote #4

Awesome. How can i do it via C++?
__________________
It does not matter who you are, just who you become.
WiggPerson is offline
xf117
Senior Member
Join Date: Mar 2010
Location: Russia
Old 05-04-2014 , 09:18   Re: [CS:GO] Show/Hide Players on Radar
Reply With Quote #5

Do you know how to make people glow for all alive players like in the death cam mode? That would help even more for anti-camp plugin.
xf117 is offline
Send a message via ICQ to xf117
Ermert1992
Member
Join Date: Jan 2012
Location: Germany
Old 07-08-2014 , 12:11   Re: [CS:GO] Show/Hide Players on Radar
Reply With Quote #6

Very good. I've looked for it since a long time. Thanks!
Ermert1992 is offline
TheWho
AlliedModders Donor
Join Date: Jul 2012
Old 07-09-2014 , 19:03   Re: [CS:GO] Show/Hide Players on Radar
Reply With Quote #7

Quote:
Originally Posted by xf117 View Post
Do you know how to make people glow for all alive players like in the death cam mode? That would help even more for anti-camp plugin.
Yes. Try to look a bit in the CSGO SDK and you can see which light settings they use.
TheWho is offline
bseos
New Member
Join Date: Aug 2014
Old 08-23-2014 , 20:55   Re: [CS:GO] Show/Hide Players on Radar
Reply With Quote #8

is there anyway to show the people in your steam group (clan) in different colours on the mini map?
Is this illegal to do?
bseos is offline
Reply


Thread Tools
Display Modes

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 13:57.


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