admin revisited, force team

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1028 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-05-30 20:09:10 +00:00
parent 64fac68990
commit 0ee8eb95d1
6 changed files with 98 additions and 11 deletions
+2
View File
@@ -620,6 +620,7 @@ void ban(int player) { serveropcommand(SOPCMD_BAN, player); }
void removebans() { serveropcommand(SOPCMD_REMBANS, 0); }
void autoteam(int enable) { serveropcommand(SOPCMD_AUTOTEAM, enable); }
void mastermode(int mode) { serveropcommand(SOPCMD_MASTERMODE, mode); }
void forceteam(int player) { serveropcommand(SOPCMD_FORCETEAM, player); }
COMMAND(setmaster, ARG_1INT);
COMMAND(setadmin, ARG_2STR);
@@ -628,6 +629,7 @@ COMMAND(ban, ARG_1INT);
COMMAND(removebans, ARG_NONE);
COMMAND(autoteam, ARG_1INT);
COMMAND(mastermode, ARG_1INT);
COMMAND(forceteam, ARG_1INT);
struct mline { string cmd; };
static vector<mline> mlines;