Nuclide
Software Development Kit for id Tech
util.h File Reference

Go to the source code of this file.

Functions

bool Client_IsSpectator (NSClient)
 Returns if the specified client is a NSClientSpectator, doesn't matter if real or fake. More...
 
bool Client_IsRealSpectator (NSClient cl)
 Returns if we're a permanent NSClientSpectator, USE THIS if you want to access NSClientSpectator class attributes. More...
 
bool Client_IsFakeSpectator (NSClient cl)
 Returns if we're a fake NSClientSpectator, in case you need to be certain. More...
 
bool Client_IsDead (NSClient)
 Return if the specified client is dead. More...
 
bool Client_IsPlayer (NSClient cl)
 Returns if the specified client is a playable client class. More...
 
bool Client_InIntermission (void)
 Are we in an intermission? (Match ending screen) More...
 
string Util_GetKeyString (string strBind)
 Returns the name of the key that a given command is bound to. More...
 
bool Client_InVehicle (void)
 Returns if the currently active client-seat is in a vehicle. More...
 
string Util_GetTime (void)
 
float Util_GetTimeLeft (void)
 
string Util_GetAddress (void)