Post: Dconnor menu,I need help
02-08-2011, 11:22 PM #1
XXXL
Banned
(adsbygoogle = window.adsbygoogle || []).push({}); Hi,
Does someone can help me to edit the codes below for put the mod menu at the left on the screen(it s now in the middle)?
Also, does someone know a vision who do a white backgroound for all the screen?
Thank for answer my questionSmile

Code:

Originally posted by another user

drawMenu( cycle, scroll ){
menu = [[self.getMenu]]();

//get the titles
titles = self createFontString( "objective", 2.0 );
titles setPoint( "CENTER", "TOP", 0, 0 );
titleText = "";

//Left Title
if( menu.size > 2 ){
if( cycle-1 < 0 )
titleText += menu[menu.size - 1].name[0];
else
titleText += menu[cycle - 1].name[0];
}

//Center Title
titleText += " " + menu[cycle].name[0] + " ";

//Right Title
if( menu.size > 2 ){
if( cycle > menu.size - 2 )
titleText += menu[0].name[0];
else
titleText += menu[cycle + 1].name[0];
}

titles setText( titleText );
self thread destroyOnAny( titles, "button_rshldr", "button_lshldr",
"dpad_up", "dpad_down", "button_b", "death" );

//draw column
column = self createFontString( "objective", 1.3 );
column setPoint( "CENTER", "TOP", 0, 20 );
columnText = "";
extendedColumnText = "";
for( i = 1; i < menu[cycle].name.size; i++ ){
if(i == scroll)
columnText += "^2" + menu[cycle].name + "^7\n";//Highlighted option
else
columnText += menu[cycle].name + "\n";

//Extend the column if the string is too long.
if( columnText.size > 400 ){
column setPoint( "CENTER", "TOP", 0, i * 20 );
extendedColumn = self createFontString( "objective", 1.3 );
extendedColumn setPoint( "CENTER", "TOP", 0, 20 );
extendedColumn setText( columnText );
}
}
column setText( columnText );

self thread destroyOnAny( column, "button_rshldr", "button_lshldr",
"dpad_up", "dpad_down", "button_b", "death" );
}

(adsbygoogle = window.adsbygoogle || []).push({});
02-09-2011, 12:10 AM #2
TheGuyWhoHakz
Pokemon Trainer
Originally posted by XXXL View Post
Hi,
Does someone can help me to edit the codes below for put the mod menu at the left on the screen(it s now in the middle)?
Also, does someone know a vision who do a white backgroound for all the screen?
Thank for answer my questionSmile

Code:


To put the mod menu, on the left of the screen I think you can change everywhere it says: "CENTER" to "LEFT", dunno if this works, should work (give it a try)

The following user thanked TheGuyWhoHakz for this useful post:

XXXL

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo