Changing Menu Text/Text Color
Of course! You have a clan and you want the name advertised on the blockmaker! And maybe you want it red! Well here we go! Simple as usual.
Search for:
PHP Code:
createMenus()
{
//calculate maximum number of block menu pages from maximum amount of blocks
gBlockMenuPagesMax = floatround((float(gBlockMax) / 8.0), floatround_ceil);
//create main menu
new size = sizeof(gszMainMenu);
add(gszMainMenu, size, "\yBlock Maker Menu^n^n");
add(gszMainMenu, size, "\r1. \wBlock Menu^n");
add(gszMainMenu, size, "\r2. \wTeleport Menu^n");
add(gszMainMenu, size, "\r3. \wTimer Menu^n");
add(gszMainMenu, size, "\r4. \wMeasuring Tool^n");
add(gszMainMenu, size, "\r5. \wLong Jump Creator^n^n");
add(gszMainMenu, size, "\r6. %sNoclip: %s^n");
add(gszMainMenu, size, "\r7. %sGodmode: %s^n^n^n");
add(gszMainMenu, size, "\r9. \wOptions Menu^n");
add(gszMainMenu, size, "\r0. \wClose");
gKeysMainMenu = B1 | B2 | B3 | B4 | B5 | B6 | B7 | B9 | B0;
Where it says:
PHP Code:
add(gszMainMenu, size, "\yBlock Maker Menu^n^n");
Thats that top part where the title is!
\y means that it is yellow
\w means that it is white
\r means that it is red
Want to add your name to it?
PHP Code:
add(gszMainMenu, size, "\y[Clan Tag] Block Maker Menu^n^n");
Want to make it red instead of yellow? (Change the \r to \w for white)
PHP Code:
add(gszMainMenu, size, "\r[Clan Tag] Block Maker Menu^n^n");
Want your clan tag one color, and "Block Maker Menu" another?
PHP Code:
add(gszMainMenu, size, "\r[Clan Tag] \yBlock Maker Menu^n^n");
Final Outcome:
PHP Code:
//create main menu
new size = sizeof(gszMainMenu);
add(gszMainMenu, size, "\r[Clan Tag] \yBlock Maker Menu^n^n");
add(gszMainMenu, size, "\r1. \wBlock Menu^n");
add(gszMainMenu, size, "\r2. \wTeleport Menu^n");
add(gszMainMenu, size, "\r3. \wTimer Menu^n");
add(gszMainMenu, size, "\r4. \wMeasuring Tool^n");
add(gszMainMenu, size, "\r5. \wLong Jump Creator^n^n");
add(gszMainMenu, size, "\r6. %sNoclip: %s^n");
add(gszMainMenu, size, "\r7. %sGodmode: %s^n^n^n");
add(gszMainMenu, size, "\r9. \wOptions Menu^n");
add(gszMainMenu, size, "\r0. \wClose");
gKeysMainMenu = B1 | B2 | B3 | B4 | B5 | B6 | B7 | B9 | B0;
You can also change the other titles the same way! Hope you guys like my tutorials.
__________________