// =========================================================
// Server side networked commands code, reworked by Samual
-// Last updated: November 27th, 2011
+// Last updated: November 30th, 2011
// =========================================================
#define CC_REQUEST_COMMAND 1
.float checkfail;
.float lms_spectate_warning;
-float VoteCommand(entity caller, float argc);
string MapVote_Suggest(string m);
//void MapVote_SendPicture(float id)
CLIENT_COMMAND("timein", ClientCommand_timein(request), "Resume the game from being paused with a timeout") \
CLIENT_COMMAND("timeout", ClientCommand_timeout(request), "Call a timeout which pauses the game for certain amount of time unless unpaused") \
CLIENT_COMMAND("voice", ClientCommand_voice(request, arguments, command), "Send voice message via sound") \
+ CLIENT_COMMAND("vote", VoteCommand(self, arguments), "Request an action to be voted upon by players") \
/* nothing */
void ClientCommand_macro_help()
{
return; // handled by a mutator
}
- else if(VoteCommand(self, argc))
- {
- return; // handled by server/vote.qc
- }
else if(CheatCommand(argc))
{
return; // handled by server/cheats.qc