Raised This Month: $ Target: $400
 0% 

[CSS/CS:GO] Disable Radar


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mitchell
~lick~
Join Date: Mar 2010
Plugin ID:
4201
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Disables radar for players.
    Old 05-17-2014 , 02:08   Re: [CSS/CS:GO] Disable Radar
    Reply With Quote #1

    Please don't override the iHideHud, and just get it and add the bit if it is already not in it. This will be screwy if you have another plugin use this netprop.
    Mitchell is offline
    Internet Bully
    Member
    Join Date: Apr 2014
    Old 05-17-2014 , 04:26   Re: [CSS/CS:GO] Disable Radar
    Reply With Quote #2

    Quote:
    Originally Posted by nomy View Post
    Does this work for CSS?

    GoD-Tony's version flashes the player to disable it.
    I actually snagged parts of his to implement in this, it works perfectly in both CSS and CSGO. Granted it doesn't have the other features of his.

    Quote:
    Originally Posted by Mitchell View Post
    Please don't override the iHideHud, and just get it and add the bit if it is already not in it. This will be screwy if you have another plugin use this netprop.
    PHP Code:
    SetEntProp(clientProp_Send"m_iHideHUD"GetEntProp(clientProp_Send"m_iHideHUD") | HIDE_RADAR); 
    Didn't really think about screwing up other HUD states at the time, since I don't touch them with other plugins. Thanks for the note. Updated the plugin.
    __________________
    Buy me a beer
    or donate to Sourcemod
    Taking some private plugin requests

    Last edited by Internet Bully; 05-17-2014 at 06:14.
    Internet Bully 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 13:05.


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