// =====================================================
// Server side game commands code, reworked by Samual
-// Last updated: November 8th, 2011
+// Last updated: November 30th, 2011
// =====================================================
#define GC_REQUEST_COMMAND 1
SERVER_COMMAND("trace", GameCommand_trace(request, arguments), "Various debugging tools with tracing") \
SERVER_COMMAND("unlockteams", GameCommand_unlockteams(request), "Enable the ability for players to switch or enter teams") \
SERVER_COMMAND("warp", GameCommand_warp(request, arguments), "Choose different level in campaign") \
+ SERVER_COMMAND("vote", VoteCommand(world, arguments), "Server side control of voting") \
/* nothing */
void GameCommand_macro_help()
{
print("\nUsage:^3 sv_cmd COMMAND...^7, where possible commands are:\n");
GameCommand_macro_help();
- GameCommand_Vote("help", world);
+
GameCommand_Ban("help");
GameCommand_Generic("help");
print("For help about specific commands, type sv_cmd help COMMAND\n");
return;
}
}
- else if(GameCommand_Vote(command, world))
- {
- return; // handled by server/vote.qc
- }
else if(GameCommand_Ban(command))
{
return; // handled by server/ipban.qc