Nuclide
Software Development Kit for id Technology (BETA)
|
Client Utility API Reference. More...
Client Utility API Reference.
Functions | |
bool | Client_IsSpectator (ncPlayer) |
Returns if the specified client is a ncSpectator, doesn't matter if real or fake. More... | |
bool | Client_IsRealSpectator (ncClient cl) |
Returns if we're a permanent ncSpectator, USE THIS if you want to access ncSpectator class attributes. More... | |
bool | Client_IsFakeSpectator (ncClient cl) |
Returns if we're a fake ncSpectator, in case you need to be certain. More... | |
bool | Client_IsDead (ncClient) |
Return if the specified client is dead. More... | |
bool | Client_IsPlayer (ncClient 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... | |
bool Client_InIntermission | ( | void | ) |
Are we in an intermission? (Match ending screen)
bool Client_InVehicle | ( | void | ) |
Returns if the currently active client-seat is in a vehicle.
bool Client_IsDead | ( | ncClient | cl | ) |
Return if the specified client is dead.
If they're a ncSpectator they're always alive.
bool Client_IsFakeSpectator | ( | ncClient | cl | ) |
Returns if we're a fake ncSpectator, in case you need to be certain.
bool Client_IsPlayer | ( | ncClient | cl | ) |
Returns if the specified client is a playable client class.
bool Client_IsRealSpectator | ( | ncClient | cl | ) |
Returns if we're a permanent ncSpectator, USE THIS if you want to access ncSpectator class attributes.
bool Client_IsSpectator | ( | ncPlayer | cl | ) |
Returns if the specified client is a ncSpectator, doesn't matter if real or fake.
string Util_GetKeyString | ( | string | strBind | ) |
Returns the name of the key that a given command is bound to.
strBind | the command in question. E.g. "+forward" |