Post: Possition Of Menu
10-16-2014, 01:30 PM #1
xDebugKiller
Climbing up the ladder
(adsbygoogle = window.adsbygoogle || []).push({}); How do i change the possition of an gsc menu?
(adsbygoogle = window.adsbygoogle || []).push({});
10-16-2014, 01:49 PM #2
SyGnUs
Give a F*** About Your Lifestyle
Originally posted by xDebugKiller View Post
How do i change the possition of an gsc menu?


Look where the shaders are being stored in the code. Like this for example -
    
This is from TheFallens Surge menu base -

self.surge["menu"]["hud"]["shaders"]["header"] = createRectangle("LEFT", "TOP", 0, 0, 500, 60, 4, (1,1,1), 1, "gradient");

So this is the place where you can change where things appear so to change the location/size of things its a good idea to find how they create the shaders in the first place, so TheFallen uses the createRectangle function and if you look at the function it looks like this -

createRectangle(align, relative, x, y, width, height, sort, color, alpha, shader)

Thats really all you need to know, so to change the position you change the - x, y, - Which are - 0, 0 in this case. You can also mess with the align and relative if you want.

The following user thanked SyGnUs for this useful post:

xDebugKiller
10-16-2014, 11:45 PM #3
Shark
Retired.
Originally posted by xDebugKiller View Post
How do i change the possition of an gsc menu?


you change the x and y values and the alignment of a hud

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo