Enum | Description |
---|---|
ClientRangeType | |
DialogType | |
EngineVersion | |
FindMapResult |
Function | Description |
---|---|
ClearSyncHud | Clears the text on a synchronized HUD channel. |
CreateDialog | Creates different types of ingame messages. |
CreateHudSynchronizer | Creates a HUD synchronization object. This object is used to automatically assign and re-use channels for a set of messages. |
DisplayAskConnectBox | Displays a panel asking the client to connect to a specified IP. |
EntIndexToEntRef | Converts an entity index into a serial encoded entity reference. |
EntRefToEntIndex | Retrieves the entity index from a reference. |
FindMap | Returns whether a full or partial map name is found or can be resolved |
GetClientsInRange | Find clients that are potentially in range of a position. |
GetCurrentMap | Returns the current map name. |
GetEngineTime | Returns a high-precision time value for profiling the engine. |
GetEngineVersion | Gets the engine version that the currently-loaded SM core was compiled against. |
GetGameDescription | Returns the game description from the mod. |
GetGameFolderName | Returns the name of the game's directory. |
GetGameFrameTime | Returns the time the Game took processing the last frame. |
GetGameTickCount | Returns the game's internal tick count. |
GetGameTime | Returns the game time based on the game tick. |
GetMapDisplayName | Get the display name of a workshop map. |
GetRandomFloat | Returns a random floating point number from the Half-Life 2 Random Stream. |
GetRandomInt | Returns a random number from the Half-Life 2 Random Stream. |
GetServerAuthId | Retrieves the server's authentication string (SteamID). |
GetServerSteamAccountId | Returns the server's Steam account ID. |
GuessSDKVersion | |
IsDecalPrecached | Returns if a given decal is precached. |
IsDedicatedServer | Returns whether the server is dedicated. |
IsGenericPrecached | Returns if a given generic file is precached. |
IsMapValid | Returns whether a map is valid or not. |
IsModelPrecached | Returns if a given model is precached. |
IsSoundPrecached | |
LogToGame | Logs a generic message to the HL2 logs. |
MakeCompatEntRef | Converts a reference into a backwards compatible version. |
PrecacheDecal | Precaches a given decal. |
PrecacheGeneric | Precaches a given generic file. |
PrecacheModel | Precaches a given model. |
PrecacheSentenceFile | Precaches a given sentence file. |
PrecacheSound | Precaches a given sound. |
PrintCenterText | Prints a message to a specific client in the center of the screen. |
PrintCenterTextAll | Prints a message to all clients in the center of the screen. |
PrintHintText | Prints a message to a specific client with a hint box. |
PrintHintTextToAll | Prints a message to all clients with a hint box. |
PrintToChat | Prints a message to a specific client in the chat area. |
PrintToChatAll | Prints a message to all clients in the chat area. |
SetHudTextParams | Sets the HUD parameters for drawing text. These parameters are stored globally, although nothing other than this function and SetHudTextParamsEx modify them. |
SetHudTextParamsEx | Sets the HUD parameters for drawing text. These parameters are stored globally, although nothing other than this function and SetHudTextParams modify them. |
SetRandomSeed | Sets the seed value for the global Half-Life 2 Random Stream. |
ShowHudText | Shows a HUD message to a client on the given channel. |
ShowMOTDPanel | Shows a MOTD panel to a specific client. |
ShowSyncHudText | Shows a synchronized HUD message to a client. |
ShowVGUIPanel | Shows a VGUI panel to a specific client. |
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.