cod5-sdk/raw/ui_mp/leavegame.menu
2008-11-20 00:00:00 +00:00

39 lines
1 KiB
Text

/*
itemDef
{
name end_game
text "@PLATFORM_END_GAME"
textfont UI_FONT_NORMAL
textscale TEXTSIZE_DEFAULT
origin 70 438
visible when ( dvarbool( onlineunrankedgameandhost ) == 1 );
decoration
execKeyInt BUTTON_Y { play "mouse_click"; open popup_endgame; }
}
itemDef
{
name leave_game
text "@PLATFORM_LEAVE_GAME"
textfont UI_FONT_NORMAL
textscale TEXTSIZE_DEFAULT
origin 70 438
visible when ( dvarbool( onlineunrankedgameandhost ) == 0 && ( !InPrivateParty() || PrivatePartyHost() || !PrivatePartyHostInLobby() ) );
decoration
execKeyInt BUTTON_Y { play "mouse_click"; open popup_leavegame; }
}
itemDef
{
name leave_game_and_party
text "@PLATFORM_LEAVE_GAME"
textfont UI_FONT_NORMAL
textscale TEXTSIZE_DEFAULT
origin 70 438
visible when ( dvarbool( onlineunrankedgameandhost ) == 0 && ( InPrivateParty() && !PrivatePartyHost() && PrivatePartyHostInLobby() ) );
decoration
execKeyInt BUTTON_Y { play "mouse_click"; open popup_leavegameandparty; }
}
*/