AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [CS:GO] Spectator radar (https://forums.alliedmods.net/showthread.php?t=234137)

abckrieger 01-25-2014 22:21

[CS:GO] Spectator radar
 
hi,

is it possible to hide the radar in spectator mode?
http://s.gullipics.com/image/5/a/3/j...specradar.jpeg



the following method is just working for players who are alive..

Code:

#define HIDE_RADAR 1<<12
...
public Action:HideRadar(Handle:timer, any:client)
{
    if (IsValidEntity(client) && !IsFakeClient(client))
        SetEntProp(client, Prop_Send, "m_iHideHUD", HIDE_RADAR);
}

thx4help


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

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