(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
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