Topic: Addvote?
Who will tell how to vote?
Thanks in advance!
// Ecoze
Translate through google
You are not logged in. Please login or register.
Teeworlds Forum → Development → Addvote?
Who will tell how to vote?
Thanks in advance!
// Ecoze
I guess the code is
//EDIT: Watch the latest posts
I did so
"restart 10" "restart to 10 seconds"
Oops! no!!!!
Oops, sorry i wrote it wrong:
add_vote "Restart to 10 seconds" "restart 10"
This is the order..
okay thanks
@Apmox: It should be restart *in 10 seconds
I just wanna say that this option is awesome since you can mask the commands and explain them easier to the common player, for instance:
add_vote "1 on 1" "sv_spectator_slots 14"
@Apmox: It should be restart *in 10 seconds
I just wanna say that this option is awesome since you can mask the commands and explain them easier to the common player, for instance:
add_vote "1 on 1" "sv_spectator_slots 14" !!!
Lol I just copied his code and re-ordered Didn't noticed that it was wrong ^^ Anyway, for sure you can mask any command, since you can execute a full config file like:
add_vote "Play ctf5 6on6" "exec ctf.cfg"
And the ctf.cfg file contains:
sv_gametype ctf
sv_map ctf5
sv_scorelimit 1000
sv_spectator_slots 4
add_vote "Play ctf5 6on6" "exec ctf.cfg"
And the ctf.cfg file contains:
sv_gametype ctf sv_map ctf5 sv_scorelimit 1000 sv_spectator_slots 4
Yah well, I was using this way for too long and to tell you the truth it's too messy, 'cuz I had around 6 cfg's for each server, let's not forget we can add more then one command on a line (I think):
add_vote "2 on 2" "sv_map ctf5; sv_scorelimit 1000; sv_spectator_slots 4"
Could you please test something like it and report it here, 'cuz I'm busy atm?
add_vote "2 on 2" "sv_map ctf5; sv_scorelimit 1000; sv_spectator_slots 4"
Could you please test something like it and report it here, 'cuz I'm busy atm?
Nop, it doesn't work.
Teeworlds Forum → Development → Addvote?
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.