From 5e2eb7d67ae933b7566f1944d0bb7744da03d586 Mon Sep 17 00:00:00 2001 From: aura Date: Tue, 17 Feb 2026 23:42:09 +0100 Subject: move source stuff to its own folder --- sourcemod/scripting/gokz-jumpstats/commands.sp | 28 -------------------------- 1 file changed, 28 deletions(-) delete mode 100644 sourcemod/scripting/gokz-jumpstats/commands.sp (limited to 'sourcemod/scripting/gokz-jumpstats/commands.sp') diff --git a/sourcemod/scripting/gokz-jumpstats/commands.sp b/sourcemod/scripting/gokz-jumpstats/commands.sp deleted file mode 100644 index 991f9e6..0000000 --- a/sourcemod/scripting/gokz-jumpstats/commands.sp +++ /dev/null @@ -1,28 +0,0 @@ - -void RegisterCommands() -{ - RegConsoleCmd("sm_jso", CommandJumpstatsOptions, "[KZ] Open the jumpstats options menu."); - RegConsoleCmd("sm_jsalways", CommandAlwaysJumpstats, "[KZ] Toggle the always-on jumpstats."); -} - -public Action CommandJumpstatsOptions(int client, int args) -{ - DisplayJumpstatsOptionsMenu(client); - return Plugin_Handled; -} - -public Action CommandAlwaysJumpstats(int client, int args) -{ - if (GOKZ_JS_GetOption(client, JSOption_JumpstatsAlways) == JSToggleOption_Enabled) - { - GOKZ_JS_SetOption(client, JSOption_JumpstatsAlways, JSToggleOption_Disabled); - GOKZ_PrintToChat(client, true, "%t", "Jumpstats Option - Jumpstats Always - Disable"); - } - else - { - GOKZ_JS_SetOption(client, JSOption_JumpstatsAlways, JSToggleOption_Enabled); - GOKZ_PrintToChat(client, true, "%t", "Jumpstats Option - Jumpstats Always - Enable"); - } - - return Plugin_Handled; -} -- cgit v1.2.3