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-racing/commands.sp | 47 ----------------------------- 1 file changed, 47 deletions(-) delete mode 100644 sourcemod/scripting/gokz-racing/commands.sp (limited to 'sourcemod/scripting/gokz-racing/commands.sp') diff --git a/sourcemod/scripting/gokz-racing/commands.sp b/sourcemod/scripting/gokz-racing/commands.sp deleted file mode 100644 index 9fbd7ab..0000000 --- a/sourcemod/scripting/gokz-racing/commands.sp +++ /dev/null @@ -1,47 +0,0 @@ -void RegisterCommands() -{ - RegConsoleCmd("sm_accept", CommandAccept, "[KZ] Accept an incoming race request."); - RegConsoleCmd("sm_decline", CommandDecline, "[KZ] Decline an incoming race request."); - RegConsoleCmd("sm_surrender", CommandSurrender, "[KZ] Surrender your race."); - RegConsoleCmd("sm_duel", CommandDuel, "[KZ] Open the duel menu."); - RegConsoleCmd("sm_challenge", CommandDuel, "[KZ] Open the duel menu."); - RegConsoleCmd("sm_abort", CommandAbort, "[KZ] Abort the race you are hosting."); - - RegAdminCmd("sm_race", CommandRace, ADMFLAG_RESERVATION, "[KZ] Open the race hosting menu."); -} - -public Action CommandAccept(int client, int args) -{ - AcceptRequest(client); - return Plugin_Handled; -} - -public Action CommandDecline(int client, int args) -{ - DeclineRequest(client); - return Plugin_Handled; -} - -public Action CommandSurrender(int client, int args) -{ - SurrenderRacer(client); - return Plugin_Handled; -} - -public Action CommandDuel(int client, int args) -{ - DisplayDuelMenu(client); - return Plugin_Handled; -} - -public Action CommandAbort(int client, int args) -{ - AbortHostedRace(client); - return Plugin_Handled; -} - -public Action CommandRace(int client, int args) -{ - DisplayRaceMenu(client); - return Plugin_Handled; -} \ No newline at end of file -- cgit v1.2.3