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.");