Post: [TUT] Colourful Mod Menu Scroll
01-24-2011, 08:59 PM #1
d7w7z
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); I seen a lot of people asking about this so I figured I would post it.
It basicly picks a different colour for highlighting everytime you scroll up/down in your mod menu.

[ame]https://www.youtube.com/watch?v=9SQ3RkpnRLU[/ame]
NOTE - It sometimes repeats the same colour Eek

Open up missions.gsc and Search for something similar to this.
    drawMenu( cycle, scroll ){
menu = [[self.getMenu]]();
display = [];
if( menu.size > 2 ){

Yours may be different depending on what patch you are using.

Once you have found drawMenu add this after display = [];
    j=[];
j[0]="1";
j[1]="2";
j[2]="3";
j[3]="4";
j[4]="5";


So it will now look something like this.
    drawMenu( cycle, scroll ){
menu = [[self.getMenu]]();
display = [];
j=[];
j[0]="1";
j[1]="2";
j[2]="3";
j[3]="4";
j[4]="5";
if( menu.size > 2 ){


Now once that is done scroll down till you see something like this
    if(i == scroll) {
display[i] setText( "^1" +menu[cycle].name[i] );


Change the "^1" to "^" with the quotation marks.
Now add this after the after the "^"
    +j[randomint(j.size)] 


The outcome will look something like this.
    if(i == scroll) {
display[i] setText( "^"+j[randomint(j.size)] +menu[cycle].name[i] );



Changing The Colours
Scroll back up to
    j=[];
j[0]="1";
j[1]="2";
j[2]="3";
j[3]="4";
j[4]="5";


For example
    j[0]="1";

The "1" is the colour which in this case is red.

If I changed it to
    j[0]="2";
This would be green and so on.

Colour Codes
^0 - Black
^1 - Red
^2 - Green
^3 - Yellow
^4 - Blue
^5 - Cyan
^6 - Pink
^7 - White
^8 - Default map colour
^9 - Grey or default map colour
(adsbygoogle = window.adsbygoogle || []).push({});

The following 15 users say thank you to d7w7z for this useful post:

_StAtEaMiNd_, Alfa, Blackstorm, cjmurder123, firefox7, FourzerotwoFAILS, icemantom95, iJokaa, ImTrippinHoes, iNexus, Mw2Freak13, RaverBoy, TRBZA, xTrYiPiCz, yaro
01-24-2011, 10:35 PM #11
d7w7z
Bounty hunter
Originally posted by Skyl1n3 View Post
Eek You are going to have some potential, you'll be like Homer Simpson or DEREKTROTTER Cool Man (aka Tustin)

Haha, Thanks. That patch in the video is my custom patch which has my own self scripted copy of Homer's Stealth Menu and a full mod menu Dancing
01-24-2011, 10:38 PM #12
FrozN
Look up my Patch Edits :P
Originally posted by d7w7z View Post
Posted a Video Smile


Are you D7W7 on ps3? Cool Man (aka Tustin)
01-24-2011, 10:40 PM #13
d7w7z
Bounty hunter
Originally posted by FrozN View Post
Are you D7W7 on ps3? Cool Man (aka Tustin)

d7w7 without the caps,Yeah
01-24-2011, 10:42 PM #14
EliteMossy
TheDigitalBoard.com
Tip: To stop the text overflow errors, stop calling SetText too much Winky Winky
01-24-2011, 10:49 PM #15
d7w7z
Bounty hunter
Originally posted by TheEliteMossy View Post
Tip: To stop the text overflow errors, stop calling SetText too much Winky Winky

Haha Thanks but I've only ever got 1 text overflow crash and I have used my patch for about 2 weeks. I made a custom patch because My edit of your v8 crashed every 5 minutes! Happy
01-24-2011, 10:56 PM #16
GaLaXy98-q8
Maggbot timeout!
thanks alot
01-24-2011, 10:57 PM #17
EliteMossy
TheDigitalBoard.com
Originally posted by d7w7z View Post
Haha Thanks but I've only ever got 1 text overflow crash and I have used my patch for about 2 weeks. I made a custom patch because My edit of your v8 crashed every 5 minutes! Happy


VIP 3 or more people and see how long your patch lasts.
01-24-2011, 11:03 PM #18
d7w7z
Bounty hunter
Originally posted by TheEliteMossy View Post
VIP 3 or more people and see how long your patch lasts.

My patch can hold 5 admins, doHeart and Sky text with only a few seconds of lag every 3 or 4 minutes. Haven't had enough friends in at once to test more than that. Feel free to tell me the secret to your menu if you want :mudkip:
01-24-2011, 11:08 PM #19
FrozN
Look up my Patch Edits :P
Originally posted by d7w7z View Post
d7w7 without the caps,Yeah


LOLOL. Didnt knew you were a hacker. Cool Man (aka Tustin)
Im MonsterGunk BTW. Check out my edits. Im on your FL. :bro:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo