View Single Post
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 08-22-2010 , 10:43   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #9

Just for information, since the orange box update it's possible in CS:S to hide the radar completely for players serverside:

PHP Code:
/**
* Sets the Hud flags of a client
*
* @param client        Client index.
* @param flags            Flag to set, use one of the HIDEHUD_ hiding constants
* @noreturn
*/
stock Client_SetHud(clientflags) {
    
    
SetEntProp(clientProp_Send"m_iHideHUD"flags);
}

public 
OnClientPutInServer(client) {

    
Client_SetHud(client, ( 1<<));

__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline