ضبطته لك تحت يمين زي مابغيت
x3NAD = {
xLocation = {
["right"] = { 1 };
["left"] = { 10 };
["center"] = { 2 };
};
yLocation = {
["up"] = { 10 };
["down"] = { 1 };
["center"] = { 2 };
};
};
guiSetLocation = function ( gui, Horizontal, Vertical )
local screenW, screenH = guiGetScreenSize ( )
local windowW, windowH = guiGetSize ( gui, false )
if Horizontal and Vertical then
local x, y = tonumber ( x3NAD.xLocation[Horizontal][1] ) or 2, tonumber ( x3NAD.yLocation[Vertical][1] ) or 2
local x, y = ( screenW -windowW ) /x, ( screenH -windowH ) /y
guiSetPosition ( gui, x, y, false )
end
end
img1 = guiCreateStaticImage(821,635,38,36,"Enksar.png",false)
guiSetLocation(img1, "right", "down")