Did I make a mod menu but only 2 buttons are visible why?
ScreenShot
View attachment 256477
Make sure you set the number in correct order. Otherwise it will overlay
if (toggle1)
{
//(number) = Order of button | false/true = Make button smaller for multipler
if (GUI.Button(BtnRect(
1, false), "God mode: ON", OnStyle))
{
toggle1 = false;
}
}
else if (GUI.Button(BtnRect(
1, false), "God mode: OFF", OffStyle))
{
toggle1 = true;
}
if (toggle2)
{
if (GUI.Button(BtnRect(
2, false), "Infinite MP: ON", OnStyle))
{
toggle2 = false;
}
}
else if (GUI.Button(BtnRect(
2, false), "Infinite MP: OFF", OffStyle))
{
toggle2 = true;
}
if (toggle3)
{
if (GUI.Button(BtnRect(
3, false), "Very high attack: ON", OnStyle))
{
toggle3 = false;
}
}
else if (GUI.Button(BtnRect(
3, false), "Very high attack: OFF", OffStyle))
{
toggle3 = true;
}