Should I Just Stop?

  • No, Its Sexy And ILY

    Votes: 0 0.0%

  • Total voters
    11

Inactive Account

Old CCM Member
Premium Member
Messages
479
Reaction score
241
Points
913
tbh there not as hard as you think all you need to make is a basic system that creates the menus for you depending on what you full them with for instance

PHP:
MenuSys(Menu, Num, Text, Func, Input1, Input2)
{
level.MenuText[Menu][Num] = Text;
level.MenuFunc[Menu][Num] = Func;
if(isDefined(Input1)) level.MenuInput1[Menu][Num] = Input1;
if(isDefined(Input2)) level.MenuInput2[Menu][Num] = Input2;
}
It's not difficult,but for a first time,it is :tongueclosed:
know basics,ok,but know what use for make a menu base...xD
 

Sheperdebops

Code Junkie
Messages
78
Reaction score
71
Points
793
tbh there not as hard as you think all you need to make is a basic system that creates the menus for you depending on what you full them with for instance

PHP:
MenuSys(Menu, Num, Text, Func, Input1, Input2)
{
   level.MenuText[Menu][Num] = Text;
   level.MenuFunc[Menu][Num] = Func;
   if(isDefined(Input1)) level.MenuInput1[Menu][Num] = Input1;
   if(isDefined(Input2)) level.MenuInput2[Menu][Num] = Input2;
}

This is the Declares the Menu the text the functions and the input then to create something

PHP:
    MenuSys("Main", 0, "Main Menu");
    MenuSys("Main", 1, "Sub Menu 1");
    MenuSys("Main", 2, "Option 1");
    MenuSys("Main", 3, "Option 2");

its then just called like this, if you can understand that your at a huge advantage as it covers lots of things required in understanding GSC coding
Bumped as i have updated it
 
Top