I want just ask, if there is a way, to set any variable on server, that we can recover with the clients ?
For exemple, in q2pro, we can do this :
map_override_path /folder/
So i want to communicate if the server change path to my client. (because I work on my release for dday on q2pro)
so i did that :
Code: Select all
alias mode-ctc "map_override_path "mode/ctc/"; echo "ctc mode will be loaded to the next map, if it's existing for the current map""
alias mode-bed "map_override_path "mode/bed/"; echo "bed mode will be loaded to the next map, if it's existing for the current map""
mode-normal
Code: Select all
alias mode-ctc "map_override_path "mode/ctc/"; say "ctc mode will be loaded to the next map, if it's existing for the current map""; set sv_mode 1
alias mode-bed "map_override_path "mode/bed/"; say "bed mode will be loaded to the next map, if it's existing for the current map"; set sv_mode 2
Code: Select all
if sv_mode == 1 then echo message1 else
if sv_mode == 2 then message2 else
Somebody can help me to understand how I can do that ?