Not such a good idea being an automatic mix server, an admin online all the time is unlikely. Custom RTV for Auto-Mix solves this problem. After installing this plugin along with Auto-Mix plugin the connected players can use the rtv command to vote for a restart. If 2 players vote for reset an automatic vote is conducted between all connected players and if it succeeds then the map is changed / restarted to de_dust2. You can also optionally define the number of times this feature can be used by the players per map.
INSTALLATION
- Copy rtv4automix.amxx to addons/amxmodx/plugins directory.
- Edit addons/amxmodx/configs/plugins.ini and add rtv4automix.amxx to it on a new line.
- Restart the server or change the map for changes to take effect.
- Edit addons/amxmodx/data/lang/rtv4mix.txt as per your needs. You can use !g for green, !t for team and !n for normal color in the chat messages. This file is auto created when you first time run this plugin.
CVARS
- amx_rtv4automix 1 / 0
Desc - Enable / Disable the RTV feature.
- amx_rtv_permap 2
Desc - Number of time RTV can be used in a single map. Default 2.
- amx_rtv_votes 3
Desc - Number of players that need to type rtv command to start the voting. Default 3
- amx_rtvadminflag "a"
Desc - Disables the rtv plugin in case an admin with this flag is connected to the server.
COMMANDS
- Say rtv - Votes for a map reset.
- Say /rtv - Votes for a map reset.
- Say !rtv - Votes for a map reset.
Note : If you get any problems with this plugin or find out any bugs in it, please use this page to report them back to me so that I can fix them.
ty you again for your great work
ReplyDeletecan you send to me the lang file plz :)
The Lang file is automatically created when you run the plugin first time.
ReplyDelete