Get the dif here http://217.16.115.15/~blub/nexfiles/?page=file&file=07273961509a896440cea3ce466b9819


You need to add the following to your autoexec.cfg the lines below contains code for two different sets of buttons.
- Code: Select all
//server select, favourites
set dmj_button0_width 0 // 0 = auto or any value > 0 is fixed width
set dmj_button0_label "Capture The Flag" // the label on the button, if ="" then don't show this button
set dmj_button0_action "ctf" // the text entered in to the filter
set dmj_button0_colour "1 0 0" // the colour of the button, R G B, range 0 - 1
set dmj_button1_width 0
set dmj_button1_label "Death Match"
set dmj_button1_action "dm"
set dmj_button1_colour "0 1 0"
set dmj_button2_width 0
set dmj_button2_label "Key Hunt"
set dmj_button2_action "key"
set dmj_button2_colour "0 0 1"
// set dmj_button0_width 0
// set dmj_button0_label "Galt's"
// set dmj_button0_action "galt"
// set dmj_button0_colour "0 0 0"
//
// set dmj_button1_width 0
// set dmj_button1_label "{x}"
// set dmj_button1_action "{x}"
// set dmj_button1_colour "0 0 0"
//
// set dmj_button2_width 0
// set dmj_button2_label "Ninjaz"
// set dmj_button2_action "Ninjaz"
// set dmj_button2_colour "0 0 0"
The button label, colour, width and inserted text can be changed. A button can be hidden by making it's label="". The filter will change its width to fit the new buttons.
You can update the buttons by changing the above lines in autoexec.cfg then opening the game console and
- Code: Select all
exec autoexec.cfg
menu_restart