View Full Version : Pleas help this doesnt work
hi i put these in a server match config and uploaded them to my server but they wont work ? can anyone help me please
bind F7 "/rcon map_restart"
bind F7 "/rcon say Map Restarting"
basicly i want it for the begining of a match so if anyone knows any other ways like 3rr's then live please help
thanks
#1: You're overwriting one bind with another, you need to user a different key or create a cvar on the server for the say message
#2: You are trying to execute a console command but are not bringing down the console.
Use this instead (assuming you already have the rcon password entered):
bind F7 "toggleconsole;rcon map_restart;toggleconsole"
As for the server cvar, you could add:
set restart "say Restarting Map in 5 seconds;wait 5.0"
Then use your bind as this:
bind F7 "toggleconsole;rcon vstr restart;rcon map_restart;toggleconsole"
Of course, you could get simpler and just add the whole thing to a server cvar and just bind a key to execute it:
cvar: set restart "say restarting map in 5 seconds; wait 5.0; map_restart"
Bind: bind F7 "VSTR restart"
There are many possibilities...though I've probably confused you more :?
cheers m8 thats helped :)
just 1 thing where do i put the cvar on my server?
Add it to your server config file.
The say message is not really needed for something as simple as a map restart, people would get the idea pretty quick I think once the map restarts :P
That said, if you're going to expose yourself to adding new cvars of commands to your server, then check out the guides section of this site, there's a custom commands config there by someone. I made something similar to it, though more inclusive and customized for my team; but his stuff is a good place to start.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.