|
Author
|
Message
|
|
BANNED
Join Date: Jul 2011
Location: Giurgiu / Romania
|

04-26-2013
, 12:50
"Vote" when a map starts
|
#1
|
I wan't something like this:
when a map starts,after 20 seconds ( set_task (20.0, "votecvar", 0) ) appears a vote,who ask you: "we play with offside&foul?" and the answers,are like this:
1. Yes,with both
2. Only with foul
3. Only with offside
4. No,without them
if is: 1 -> set_cvar_num ("sj_offside", 1)
set_cvar_num ("sj_foul",1)
2 -> set_cvar_num ("sj_offside", 0)
-> set_cvar_num ("sj_foul",1)
3 -> set_cvar_num ("sj_offside", 1)
-> set_cvar_num ("sj_foul",0)
4 -> set_cvar_num ("sj_offside",0)
-> set_cvar_num ("sj_foul",0)
P.S: sry for my bad english...
|
|
|
|