Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Recommended Posts

Sysstring to change the letters on the button and to change the after message systemmsg.

Unless U mean the button appearance which I'm not sure :troll:

Edited by FrozenWarrior

Share this post


Link to post
Share on other sites

You have to make new class inside the interface.u

function OnShow()
{
    HideWindow("LoginFunctionWnd");
}

and add your own button with interface.xdat

http://prntscr.com/nxno2p

  • Thanks 1
  • Upvote 3

Share this post


Link to post
Share on other sites
7 hours ago, StinkyMadness said:

You have to make new class inside the interface.u

function OnShow()
{
    HideWindow("LoginFunctionWnd");
}

and add your own button with interface.xdat

http://prntscr.com/nxno2p

Ty for response. in which .uc file I must add that lines?

Share this post


Link to post
Share on other sites
23 minutes ago, Gam3Master said:

Ty for response. in which .uc file I must add that lines?

You can create your own one.. 

Here its an exemple:

class LoginMenuWnd extends UICommonAPI;

function OnShow()
{
	HideWindow("LoginFunctionWnd");
}

function OnClickButton(string a_ButtonID)
{
	switch (a_ButtonID)
	{
		case "btnOption":
			onOption();
			break;
		case "btnCredit":
			SetUIState("CreditState");
			break;
		case "btnReplay":
			SetUIState("ReplaySelectState");
			break;
		default:
	}
}

function onOption()
{
	if (IsShowWindow("OptionWnd"))
	{
		PlayConsoleSound(IFST_WINDOW_CLOSE);
		HideWindow("OptionWnd");
	} 
	else 
	{
		PlayConsoleSound(IFST_WINDOW_OPEN);
		ShowWindowWithFocus("OptionWnd");
	}
}
defaultproperties
{
}

 

Share this post


Link to post
Share on other sites
12 hours ago, StinkyMadness said:

You can create your own one.. 

Here its an exemple:


class LoginMenuWnd extends UICommonAPI;

function OnShow()
{
	HideWindow("LoginFunctionWnd");
}

function OnClickButton(string a_ButtonID)
{
	switch (a_ButtonID)
	{
		case "btnOption":
			onOption();
			break;
		case "btnCredit":
			SetUIState("CreditState");
			break;
		case "btnReplay":
			SetUIState("ReplaySelectState");
			break;
		default:
	}
}

function onOption()
{
	if (IsShowWindow("OptionWnd"))
	{
		PlayConsoleSound(IFST_WINDOW_CLOSE);
		HideWindow("OptionWnd");
	} 
	else 
	{
		PlayConsoleSound(IFST_WINDOW_OPEN);
		ShowWindowWithFocus("OptionWnd");
	}
}
defaultproperties
{
}

 

 

I created new class, wrote there your code and compiled. But no change.

Share this post


Link to post
Share on other sites
27 minutes ago, StinkyMadness said:

if you don't want to add xdat side use the "HideWindow("LoginFunctionWnd");" inside another .uc that load on start client.

Solved.Thankyou.

 

Close the topic,

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.