This commit is contained in:
28
zone_raw/patch_mp/ui_mp/changeclass_opfor.menu
Normal file
28
zone_raw/patch_mp/ui_mp/changeclass_opfor.menu
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "changeclass_opfor"
|
||||
rect 0 0 0 0 0 0
|
||||
onOpen
|
||||
{
|
||||
if (dvarint(xblive_privatematch) || (dvarint(xblive_competitionmatch) && dvarint(com_svDedicated)))
|
||||
{
|
||||
setLocalVarString ui_customClassLoc "privateMatchCustomClasses";
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarString ui_customClassLoc "customClasses";
|
||||
}
|
||||
setLocalVarString ui_team "opfor";
|
||||
if (dvarbool(splitscreen) && dvarbool(onlinegame))
|
||||
{
|
||||
open changeclass_opfor_splitscreen;
|
||||
}
|
||||
else
|
||||
{
|
||||
open changeclass;
|
||||
}
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user