diff --git a/config/admin.cfg b/config/admin.cfg index 4ec3a75b..ac4438cd 100644 --- a/config/admin.cfg +++ b/config/admin.cfg @@ -4,6 +4,7 @@ removebans = [ callvote 2 $arg1 ] mastermode = [ callvote 3 $arg1 ] autoteam = [ callvote 4 $arg1 ] forceteam = [ callvote 5 $arg1 ] +forceme = [ forceteam (findcn $curname) ] giveadmin = [ callvote 6 $arg1 ] map = [ callvote 7 $arg1 $arg2 ] recorddemo = [ callvote 8 1 ] diff --git a/config/docs.cfg b/config/docs.cfg index cae502a6..4d38440e 100644 --- a/config/docs.cfg +++ b/config/docs.cfg @@ -1313,6 +1313,7 @@ docident [deleteservermap] [Deletes a map from the current server.]; docargument [A] [map name] [] [0]; docident [forceteam] [Forces the specified player to join the enemy team.]; docargument [CN] [The player to assign to a team] [Client number] [0]; +docident [forceme] [Calls a vote to forceteam yourself to the enemy team.]; docident [giveadmin] [Gives admin state to the specified player.]; docargument [CN] [The player to become admin] [Client number] [0]; docremark [Requires admin state. The admin will lose his admin state after successfully issuing this command.]; diff --git a/docs/reference.xml b/docs/reference.xml index 4d9e9ec7..29b56727 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -4917,6 +4917,13 @@ Output: + + + Calls a vote to forceteam yourself to the enemy team. + + + + Gives admin state to the specified player.