Profile menu
#1
I'm building profile menu, and I added player module, but it's only CLA or RVSF. depending on the code... I try to use IF/ELSE but without success.

[Image: profile_menu.png]

How can I make the player module change based on the team?

Menu code (with CLA):
persistidents 0

newmenu profile
menuinit [ menuselection CLA (player1 skin_cla) ]
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 team
menuitem [CLA]                          [ team cla ]
menuitem [RVSF]                        [ team rvsf ]

persistidents 1

RVSF code:
menuinit [menuselection RVSF (player1 skin_rvsf)]
menumdl playermodels/RVSF/01 all 50 4
Thanks given by:
#2
I solved it myself.

Thanks given by:
#3
Nice job mate :)
Thanks given by: