Raised This Month: $12 Target: $400
 3% 

[CSS/CS:GO] Disable Radar


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Internet Bully
Member
Join Date: Apr 2014
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-16-2014 , 20:02   [CSS/CS:GO] Disable Radar
    Reply With Quote #1

    Simply hides the radar for everyone that spawns, no frills. Useful for certain mods.

    Version: 1.0 - Initial Release
    Version: 1.1 - Fixed Overwriting the whole m_iHideHUD, now just sets the correct bit.
    Version: 1.2 - Fixed CSS to use a method from from GoD-Tony's "Radar Config" https://forums.alliedmods.net/showthread.php?p=1471473

    Current Version: 1.2
    Attached Files
    File Type: sp Get Plugin or Get Source (DisableRadar.sp - 12652 views - 1.6 KB)
    __________________
    Buy me a beer
    or donate to Sourcemod
    Taking some private plugin requests

    Last edited by Internet Bully; 05-17-2014 at 18:21.
    Internet Bully is offline
    nomy
    Senior Member
    Join Date: Dec 2009
    Location: United Kingdom
    Old 05-17-2014 , 02:05   Re: [CSS/CS:GO] Disable Radar
    Reply With Quote #2

    Does this work for CSS?

    GoD-Tony's version flashes the player to disable it.
    nomy is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 05-17-2014 , 02:08   Re: [CSS/CS:GO] Disable Radar
    Reply With Quote #3

    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 #4

    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
    Chesterfield
    Senior Member
    Join Date: Apr 2013
    Old 05-17-2014 , 09:47   Re: [CSS/CS:GO] Disable Radar
    Reply With Quote #5

    Thanks Internet Bully it works perfectly, all people from my server are happy now playing without the radar, may i ask you if it is possible to disable the arrows that appear above the head of your teammates when you aim at them? it would be fantastic to disable that since it makes you spot teammates easier.

    Thanks in advance and keep up the good work!
    Chesterfield is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 05-17-2014 , 12:06   Re: [CSS/CS:GO] Disable Radar
    Reply With Quote #6

    Quote:
    Originally Posted by Chesterfield View Post
    Thanks Internet Bully it works perfectly, all people from my server are happy now playing without the radar, may i ask you if it is possible to disable the arrows that appear above the head of your teammates when you aim at them? it would be fantastic to disable that since it makes you spot teammates easier.

    Thanks in advance and keep up the good work!
    you can already disable that by enabling FFA, putting together that you are running a cs:go survival games server.
    Mitchell is offline
    Chesterfield
    Senior Member
    Join Date: Apr 2013
    Old 05-17-2014 , 15:42   Re: [CSS/CS:GO] Disable Radar
    Reply With Quote #7

    Sorry for my ignorance but what is FFA?

    Now i know, but the only FFA i've found doesn't work in CS:GO

    Last edited by Chesterfield; 05-17-2014 at 20:13.
    Chesterfield is offline
    bonersenseless
    New Member
    Join Date: Jan 2013
    Old 05-17-2014 , 20:21   Re: [CSS/CS:GO] Disable Radar
    Reply With Quote #8

    Quote:
    Originally Posted by Chesterfield View Post
    Now i know, but the only FFA i've found doesn't work in CS:GO
    i think they're referring to cvar mp_teammates_are_enemies 1
    and the hungergames servers/maps people are playing with it lately. you dont really use a plugin as much as set that cvar.

    Last edited by bonersenseless; 05-17-2014 at 20:26.
    bonersenseless is offline
    Chesterfield
    Senior Member
    Join Date: Apr 2013
    Old 05-17-2014 , 22:02   Re: [CSS/CS:GO] Disable Radar
    Reply With Quote #9

    Yes, i've looked at the cvar and it works correctly, it also disables the arrow, thanks alot!
    Chesterfield is offline
    red4911
    Senior Member
    Join Date: Sep 2010
    Location: Russia
    Old 06-05-2014 , 12:20   Re: [CSS/CS:GO] Disable Radar
    Reply With Quote #10

    Error - csgo
    Quote:
    L 06/05/2014 - 06:25:28: [SM] [0] Line 33, /home/groups/alliedmodders/forums/files/2/4/8/3/8/6/133573.attach::RemoveRadar()
    L 06/05/2014 - 06:25:28: [SM] Native "GetEntProp" reported: Entity 2 (2) is invalid
    L 06/05/2014 - 06:25:28: [SM] Displaying call stack trace for plugin "DisableRadar.smx":
    red4911 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 11:16.


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