Post: Heelpppp!!! Pleaseeee change as the position menu?
03-26-2016, 06:11 AM #1
jodare
Gobble
(adsbygoogle = window.adsbygoogle || []).push({}); Hello, I'm having a bit of trouble trying to figure out how to reposition a mod menu. I want to put him in the middle of the screen a little to the left <<< hope will help me leave the codes
thanks for attention tale with you Smile


StoreShaders()
{
shaders = self.Private["shaders"];

self.menu.background = self drawShader("cyan", "LEFT", "CENTER", 175, 0, 280, 480, (0, 0, 0), 0, 1);
self.menu.scroller = self drawShader("green", "LEFT", "TOPRIGHT", -200, 30.6, 300, 17, (1, 1, 1), 0, 2);
self.Private["header"] = createRectangle("LEFT", "TOP", 175, -10, 252, 60, 3, (1,1,1), 0, shaders["header"]);
}

StoreText(menu, title)
{
colors = self.Private["colors"];
self.menu.currentmenu = menu;
string = "";
self.Private["title"] destroy();
self.Private["title"] = drawText(title, "bigfixed", 1.2, "LEFT", "TOPRIGHT", -180, 0, colors["title"], 1, 4);

for(i = 0; i < self.menu.menuopt[menu].size; i++)
{ string += self.menu.menuopt[menu] + "\n"; }

self.Private["options"] destroy();
self.Private["options"] = drawText(string, "default", 1.6, "LEFT", "TOPRIGHT", -180, 30, colors["options"], 1, 5);
}
(adsbygoogle = window.adsbygoogle || []).push({});
03-26-2016, 06:29 AM #2
ItsShockwave
Pokemon Trainer
the two numbers after the "LEFT", "CENTER" = x,y positioning
same with your settext "LEFT", "TOPRIGHT", x,y
negative values on x move it left positive right
negative values on y move it up positive move it down
03-26-2016, 06:33 AM #3
ItsShockwave
Pokemon Trainer
if you want to resize the shaders the 2 numbers after x,y are width,height
then the numbers in ( ) are for RGB
the last 2 are alpha which means is it see through or solid the number 1=solid
and the last number is for sort < I think this means in which order the layer appears in
03-26-2016, 06:34 AM #4
ItsShockwave
Pokemon Trainer
If you need anymore help add me on skype and i can assist you, Legit_x_Daimon
03-26-2016, 05:55 PM #5
jodare
Gobble
Originally posted by ItsShockwave View Post
if you want to resize the shaders the 2 numbers after x,y are width,height
then the numbers in ( ) are for RGB
the last 2 are alpha which means is it see through or solid the number 1=solid
and the last number is for sort < I think this means in which order the layer appears in


Originally posted by ItsShockwave View Post
the two numbers after the "LEFT", "CENTER" = x,y positioning
same with your settext "LEFT", "TOPRIGHT", x,y
negative values on x move it left positive right
negative values on y move it up positive move it down


thank you helped me

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo