22 Jun 14, 01:22PM
I solved it myself.
new file: /config/menus_profile.cfg
Add 2 lines to config/menus.cfg:
newmenu main
in the end of the file
in /config/menus_settings.cfg:
Disable CLA and RVSF menus entirely.
[SELECT ALL] Code:
newmenu ProfileCLA
// menumdl playermodels/CLA/01 all 50 4
menuitem [Favorite servers] (concat showonlyfavourites 1 ";showmenu server") [ showonlyfavourites 0 ]
menuitem [LAN private server] [ connect 192.168.1.103 28763 password ]
menuitemtextinput [Nickname: ] "result $curname" [ name $arg1 ]
menuitem [] -1
menuitem [Weapon] [ showmenu Weapons ]
menuitem [Team] [ showmenu team ]
menuitem [Skin] [ showmenu (at [CLA RVSF] (player1 team)) ]
newmenu ProfileRVSF
// menumdl playermodels/RVSF/01 all 50 4
menuitem [Favorite servers] (concat showonlyfavourites 1 ";showmenu server") [ showonlyfavourites 0 ]
menuitem [LAN private server] [ connect 192.168.1.103 28763 password ]
menuitemtextinput [Nickname: ] "result $curname" [ name $arg1 ]
menuitem [] -1
menuitem [Weapon] [ showmenu Weapons ]
menuitem [Team] [ showmenu team ]
menuitem [Skin] [ showmenu (at [CLA RVSF] (player1 team)) ]
newmenu team
menuitem [CLA] [ team cla ]
menuitem [RVSF] [ team rvsf ]
newmenu CLA
menuinit [ menuselection CLA (player1 skin_cla) ]
menumdl playermodels/CLA/01 all 50 4
menuitem [Comandante] [ skin_cla 0 ; chmenumdl ProfileCLA playermodels/CLA/01 all 50 4 ] [ chmenumdl CLA playermodels/CLA/01 all 50 4 ]
menuitem [Psycho] [ skin_cla 1 ; chmenumdl ProfileCLA playermodels/CLA/02 all 50 4 ] [ chmenumdl CLA playermodels/CLA/02 all 50 4 ]
menuitem [Bomber] [ skin_cla 2 ; chmenumdl ProfileCLA playermodels/CLA/03 all 50 4 ] [ chmenumdl CLA playermodels/CLA/03 all 50 4 ]
menuitem [Ripper] [ skin_cla 3 ; chmenumdl ProfileCLA playermodels/CLA/04 all 50 4 ] [ chmenumdl CLA playermodels/CLA/04 all 50 4 ]
newmenu RVSF
menuinit [menuselection RVSF (player1 skin_rvsf)]
menumdl playermodels/RVSF/01 all 50 4
menuitem [Alpha] [ skin_rvsf 0 ; chmenumdl ProfileRVSF playermodels/RVSF/01 all 50 4 ] [ chmenumdl RVSF playermodels/RVSF/01 all 50 4 ]
menuitem [Tango] [ skin_rvsf 1 ; chmenumdl ProfileRVSF playermodels/RVSF/02 all 50 4 ] [ chmenumdl RVSF playermodels/RVSF/02 all 50 4 ]
menuitem [Cobra] [ skin_rvsf 2 ; chmenumdl ProfileRVSF playermodels/RVSF/03 all 50 4 ] [ chmenumdl RVSF playermodels/RVSF/03 all 50 4 ]
menuitem [Viper] [ skin_rvsf 3 ; chmenumdl ProfileRVSF playermodels/RVSF/04 all 50 4 ] [ chmenumdl RVSF playermodels/RVSF/04 all 50 4 ]
menuitem [Swat] [ skin_rvsf 4 ; chmenumdl ProfileRVSF playermodels/RVSF/05 all 50 4 ] [ chmenumdl RVSF playermodels/RVSF/05 all 50 4 ]
menuitem [Police] [ skin_rvsf 5 ; chmenumdl ProfileRVSF playermodels/RVSF/06 all 50 4 ] [ chmenumdl RVSF playermodels/RVSF/06 all 50 4 ]
Add 2 lines to config/menus.cfg:
newmenu main
[SELECT ALL] Code:
menuitem (_ Profile) [ showmenu (at [ProfileCLA ProfileRVSF] (player1 team)) ]
in the end of the file
[SELECT ALL] Code:
exec config/menus_profile.cfg
in /config/menus_settings.cfg:
Disable CLA and RVSF menus entirely.