From b11b82b286bbfd67cf6a9868ff34bf8f78fc7d0a Mon Sep 17 00:00:00 2001 From: rtldg <55846624+rtldg@users.noreply.github.com> Date: Fri, 7 Jan 2022 16:52:12 +0000 Subject: [PATCH] update some random strings --- addons/sourcemod/scripting/include/shavit/core.inc | 2 +- addons/sourcemod/scripting/shavit-tas.sp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/sourcemod/scripting/include/shavit/core.inc b/addons/sourcemod/scripting/include/shavit/core.inc index 958e1a96..7bd66d86 100644 --- a/addons/sourcemod/scripting/include/shavit/core.inc +++ b/addons/sourcemod/scripting/include/shavit/core.inc @@ -1011,7 +1011,7 @@ native float Shavit_GetDistanceOffset(int client, int zonetype); /* * Gets a value from the style config for the given style - * e.g. Shavit_GetStyleSetting(Shavit_GetBhopStyle(client), "TAS", sBuffer, 2); + * e.g. Shavit_GetStyleSetting(Shavit_GetBhopStyle(client), "TAS", sBuffer, sizeof(sBuffer)); * * @param style Style index. * @param key Style key to retreive. diff --git a/addons/sourcemod/scripting/shavit-tas.sp b/addons/sourcemod/scripting/shavit-tas.sp index 6be29086..7cf3a3a6 100644 --- a/addons/sourcemod/scripting/shavit-tas.sp +++ b/addons/sourcemod/scripting/shavit-tas.sp @@ -146,11 +146,11 @@ public void OnPluginStart() AddCommandListener(CommandListener_Toggler, "+edgejump"); AddCommandListener(CommandListener_Toggler, "-edgejump"); - RegConsoleCmd("sm_autostrafer", Command_Toggler, ""); - RegConsoleCmd("sm_autostrafe", Command_Toggler, ""); - RegConsoleCmd("sm_autoprestrafe", Command_Toggler, ""); - RegConsoleCmd("sm_autojumponstart", Command_Toggler, ""); - RegConsoleCmd("sm_edgejump", Command_Toggler, ""); + RegConsoleCmd("sm_autostrafer", Command_Toggler, "Usage: !autostrafe [1|0]"); + RegConsoleCmd("sm_autostrafe", Command_Toggler, "Usage: !autostrafe [1|0]"); + RegConsoleCmd("sm_autoprestrafe", Command_Toggler, "Usage: !autoprestrafe [1|0}"); + RegConsoleCmd("sm_autojumponstart", Command_Toggler, "Usage: !autojumponstart [1|0}"); + RegConsoleCmd("sm_edgejump", Command_Toggler, "Usage: !edgejump [1|0}"); RegConsoleCmd("sm_tasm", Command_TasSettingsMenu, "Opens the TAS settings menu."); RegConsoleCmd("sm_tasmenu", Command_TasSettingsMenu, "Opens the TAS settings menu.");