Beispiel #1
0
void configureNexuizModButtonNexuizModButton(entity me, string menu)
{
	me.configureNexuizButton(me, "", '0 0 0');
	me.onClick = NexuizModButton_Click;
	me.onClickEntity = me;
	me.destination = menu;

	if (cvar_string("menu_slist_modfilter") == "havoc")
		me.text = "Switch to Nexuiz mode";
	else
		me.text = "Switch to Havoc mode";
}
Beispiel #2
0
void NexuizBigButton_configureNexuizBigButton(entity me, string theText, vector theColor)
{
	me.configureNexuizButton(me, theText, theColor);
}