// Lists ref commands. void G_refHelp_cmd(gentity_t *ent) { // List commands only for enabled refs. if(ent) { if(!ent->client->sess.referee) { CP("cpm \"Sorry, you are not a referee!\n"); return; } CP("print \"\n^3Referee commands:^7\n\""); CP( "print \"------------------------------------------\n\""); G_voteHelp(ent, qfalse); CP("print \"\n^5allready putallies^7 <pid> ^5speclock warmup\n\""); CP( "print \"^5lock putaxis^7 <pid> ^5specunlock warn ^7<pid>\n\""); CP( "print \"^5help remove unlock mute ^7<pid>\n\""); CP( "print \"^5pause restart unpause unmute ^7<pid>\n\""); CP( "print \"Usage: ^3\\ref <cmd> [params]\n\n\""); // Help for the console } else { G_Printf("\nAdditional console commands:\n"); G_Printf( "----------------------------------------------\n"); G_Printf( "allready putallies <pid> unlock\n"); G_Printf( "lock putaxis <pid> unpause\n"); G_Printf( "help restart warmup [value]\n"); G_Printf( "pause speclock warn <pid>\n"); G_Printf( "remove specunlock\n\n"); G_Printf( "Usage: <cmd> [params]\n\n"); } }
// yada - new version since sv and game cmd are equal now void G_refHelp_cmd(gentity_t *ent) { G_refPrintf(ent,"\n^3Referee commands:"); G_refPrintf(ent,"------------------------------------------"); G_voteHelp(ent, qfalse); // CHRUKER: b038 - Removed non-existing restart command // CHRUKER: b039 - Added <pid> parameter to remove command G_refPrintf(ent,"------------------------------------------"); G_refPrintf(ent,"^5allready putallies^7 <pid>^5 speclock warmup"); G_refPrintf(ent,"^5lock putaxis^7 <pid>^5 specunlock warn^7 <pid>"); G_refPrintf(ent,"^5help remove^7 <pid>^5 unlock logout"); G_refPrintf(ent,"^5pause makeshoutcaster^7 <pid>"); G_refPrintf(ent,"^5unpause removeshoutcaster^7 <pid>"); G_refPrintf(ent,"------------------------------------------"); G_refPrintf(ent,"Usage: ^3\\ref <cmd> [params]\n"); }