Raised This Month: $ Target: $400
 0% 

[CS:GO] Show/Hide Players on Radar


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 


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 18:28.


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