You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void SendToChat(const char* msg, int playerIndex); | "Sends a raw message to the chat HUD. Specifying no playerIndex or 0 sends to all players. Supports printing localization strings but those that require formatting can't be formatted."
27
27
const char* GetGameMainDir(); | "Returns the current game directory. Ex. portal2"
28
28
const char* GetGameRootDir(); | "Returns the current root game directory. Ex. Portal 2"
29
-
const char* GetLastMap(); | "Returns the last map recorded by the Last Map system."
30
29
void CallFirstRunPrompt(); | "Shows the first run prompt if enabled in config.nut."
31
30
int GetConVarInt(const char* cvName); | "Get the integer value of a ConVar."
32
31
const char* GetConVarString(const char* cvName); | "Get the string value of a ConVar."
ScriptRegisterFunction (g_pScriptVM, SendToChat, "Sends a raw message to the chat HUD. Specifying no playerIndex or 0 sends to all players. Supports printing localization strings but those that require formatting can't be formatted.");
319
311
ScriptRegisterFunction (g_pScriptVM, GetGameMainDir, "Returns the current game directory. Ex. portal2");
320
312
ScriptRegisterFunction (g_pScriptVM, GetGameRootDir, "Returns the current root game directory. Ex. Portal 2");
321
-
ScriptRegisterFunction (g_pScriptVM, GetLastMap, "Returns the last map recorded by the Last Map system.");
322
313
ScriptRegisterFunction (g_pScriptVM, CallFirstRunPrompt, "Shows the first run prompt if enabled in config.nut.");
323
314
ScriptRegisterFunctionNamed(g_pScriptVM, GetConVarInt, "GetConVarInt", "Get the integer value of a ConVar.");
324
315
ScriptRegisterFunctionNamed(g_pScriptVM, GetConVarString, "GetConVarString", "Get the string value of a ConVar.");
0 commit comments