feat: skip trader button
This commit is contained in:
parent
4413b9aa0b
commit
d5aa118c32
@ -23,10 +23,11 @@ function InitMenu()
|
|||||||
Super(KFGUI_Page).InitMenu();
|
Super(KFGUI_Page).InitMenu();
|
||||||
AddMenuButton('Mapvote',"Map Vote","Show mapvote menu");
|
AddMenuButton('Mapvote',"Map Vote","Show mapvote menu");
|
||||||
AddMenuButton('Settings',"Settings","Enter the game settings");
|
AddMenuButton('Settings',"Settings","Enter the game settings");
|
||||||
|
AddMenuButton('SkipTrader',"Skip Trader","start voting for skip trader");
|
||||||
AddMenuButton('Disconnect',"Disconnect","Disconnect from this server");
|
AddMenuButton('Disconnect',"Disconnect","Disconnect from this server");
|
||||||
SpectateButton = AddMenuButton('Spectate',"","");
|
SpectateButton = AddMenuButton('Spectate',"","");
|
||||||
AddMenuButton('Close',"Close","Close this menu");
|
AddMenuButton('Close',"Close","Close this menu");
|
||||||
//AddMenuButton('Exit',"Exit","Exit this game");
|
AddMenuButton('Exit',"Exit","Exit this game");
|
||||||
|
|
||||||
for( i=0; i<Pages.Length; ++i )
|
for( i=0; i<Pages.Length; ++i )
|
||||||
{
|
{
|
||||||
@ -94,6 +95,9 @@ function ButtonClicked( KFGUI_Button Sender )
|
|||||||
ExtPlayerController(GetPlayer()).ChangeSpectateMode(!bOldSpectate);
|
ExtPlayerController(GetPlayer()).ChangeSpectateMode(!bOldSpectate);
|
||||||
DoClose();
|
DoClose();
|
||||||
break;
|
break;
|
||||||
|
case 'SkipTrader':
|
||||||
|
KFPlayerController(GetPlayer()).RequestSkipTrader();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
final function OpenUpMapvote()
|
final function OpenUpMapvote()
|
||||||
|
Loading…
Reference in New Issue
Block a user