Jump to content

مشكلةة بالنآفذةة ! ><"


Recommended Posts

السلآمم عليكمم ورحمةة الله وبركآتهه

كيفكم انشاء الله بخير

الزبدةة

يوم أسوي لوحةة عليهآ صورةة ومن فوقهآ بوتونآت ! أو ليبلآت !

يظبط كل شي

بس لمآ تظغط ع الخلفيةة

تختفي الأزرآر والخ !

وش المشكلةة ؟ = \

Link to comment
function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) 
    local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "games.png", relative2 ) 
    local mainBackgroundLabel = guiCreateLabel ( 0, 0, 250, 100, titleBarText2, false, mainBackground ) 
    guiSetEnabled ( mainBackgroundLabel, false ) 
    return mainBackground 
end 
  
GUIEditor_Window = {} 
GUIEditor_Button = {} 
GUIEditor_Label = {} 
GUIEditor_Image = {} 
  
GUIEditor_Window[1] = guiCreateWindow(0.265,0.2217,0.4575,0.615,"",false) 
  
  
GUIEditor_Button[1] = guiCreateButton(0.355,0.38,0.105,0.0767,"Sound 1",true) 
  
GUIEditor_Button[2] = guiCreateButton(0.5375,0.3767,0.105,0.0767,"Sound 2",true) 
  
GUIEditor_Button[3] = guiCreateButton(0.355,0.5833,0.105,0.0767,"Sound 3",true) 
  
GUIEditor_Button[4] = guiCreateButton(0.5362,0.5783,0.105,0.0767,"Sound 4",true) 
  
GUIEditor_Button[5] = guiCreateButton(0.3875,0.7433,0.105,0.0767,"Stop | إيقآف",true) 
  
GUIEditor_Button[6] = guiCreateButton(0.5113,0.7433,0.105,0.0767,"Close Wnd",true) 
  
GUIEditor_Label[1] = guiCreateLabel(0.3625,0.2783,0.3925,0.07,"=== | لوحــةة الأنآشــيد | ===",true) 
guiLabelSetColor(GUIEditor_Label[1],0,134,139) 
guiSetFont(GUIEditor_Label[1], guiCreateFont( "RaYaN.ttf", 18 ) ) 
  
GUIEditor_Label[2] = guiCreateLabel(0.6062,0.23,0.1163,0.0283,"By : Mr.Ray[b]ak",true) 
guiLabelSetColor(GUIEditor_Label[2],255,0,0) 
  
GUIEditor_Label[3] = guiCreateLabel(0.2725,0.7933,0.0925,0.0283,"Saleh Al Yami",true) 
guiLabelSetColor(GUIEditor_Label[3],122,103,238) 
  
GUIEditor_Image[1] = guiCreateStaticImage(0.2663,0.2233,0.4563,0.6133,"games.png",true) 
------------------------------------------------------- 
  
function open() 
if (guiGetVisible(GUIEditor_Window[1]) == false) then 
guiSetVisible(GUIEditor_Window[1], true) 
showCursor(true) 
else 
guiSetVisible(GUIEditor_Window[1], false) 
showCursor(false) 
end 
end 
bindKey("F2","down",open) 

Link to comment

function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) 
    local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "games.png", relative2 ) 
    local mainBackgroundLabel = guiCreateLabel ( 0, 0, 250, 100, titleBarText2, false, mainBackground ) 
    guiSetEnabled ( mainBackgroundLabel, false ) 
    return mainBackground 
end 
  
GUIEditor_Window = {} 
GUIEditor_Button = {} 
GUIEditor_Label = {} 
GUIEditor_Image = {} 
  
GUIEditor_Window[1] = guiCreateWindow(0.265,0.2217,0.4575,0.615,"",false) 
  
  
GUIEditor_Button[1] = guiCreateButton(0.355,0.38,0.105,0.0767,"Sound 1",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[2] = guiCreateButton(0.5375,0.3767,0.105,0.0767,"Sound 2",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[3] = guiCreateButton(0.355,0.5833,0.105,0.0767,"Sound 3",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[4] = guiCreateButton(0.5362,0.5783,0.105,0.0767,"Sound 4",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[5] = guiCreateButton(0.3875,0.7433,0.105,0.0767,"Stop | إيقآف",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[6] = guiCreateButton(0.5113,0.7433,0.105,0.0767,"Close Wnd",true,GUIEditor_Window[1]) 
  
GUIEditor_Label[1] = guiCreateLabel(0.3625,0.2783,0.3925,0.07,"=== | لوحــةة الأنآشــيد | ===",true,GUIEditor_Window[1]) 
guiLabelSetColor(GUIEditor_Label[1],0,134,139) 
guiSetFont(GUIEditor_Label[1], guiCreateFont( "RaYaN.ttf", 18 ) ) 
  
GUIEditor_Label[2] = guiCreateLabel(0.6062,0.23,0.1163,0.0283,"By : Mr.Ray[b]ak",true,GUIEditor_Window[1]) 
guiLabelSetColor(GUIEditor_Label[2],255,0,0) 
  
GUIEditor_Label[3] = guiCreateLabel(0.2725,0.7933,0.0925,0.0283,"Saleh Al Yami",true,GUIEditor_Window[1]) 
guiLabelSetColor(GUIEditor_Label[3],122,103,238) 
  
GUIEditor_Image[1] = guiCreateStaticImage(0.2663,0.2233,0.4563,0.6133,"games.png",true,GUIEditor_Window[1]) 
------------------------------------------------------- 
  
function open() 
if (guiGetVisible(GUIEditor_Window[1]) == false) then 
guiSetVisible(GUIEditor_Window[1], true) 
showCursor(true) 
else 
guiSetVisible(GUIEditor_Window[1], false) 
showCursor(false) 
end 
end 
bindKey("F2","down",open) 
Link to comment
function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) 
    local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "games.png", relative2 ) 
    local mainBackgroundLabel = guiCreateLabel ( 0, 0, 250, 100, titleBarText2, false, mainBackground ) 
    guiSetEnabled ( mainBackgroundLabel, false ) 
    return mainBackground 
end 
  
GUIEditor_Window = {} 
GUIEditor_Button = {} 
GUIEditor_Label = {} 
GUIEditor_Image = {} 
  
GUIEditor_Window[1] = guiCreateWindow(0.265,0.2217,0.4575,0.615,"",false) 
  
  
GUIEditor_Button[1] = guiCreateButton(0.355,0.38,0.105,0.0767,"Sound 1",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[2] = guiCreateButton(0.5375,0.3767,0.105,0.0767,"Sound 2",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[3] = guiCreateButton(0.355,0.5833,0.105,0.0767,"Sound 3",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[4] = guiCreateButton(0.5362,0.5783,0.105,0.0767,"Sound 4",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[5] = guiCreateButton(0.3875,0.7433,0.105,0.0767,"Stop | إيقآف",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[6] = guiCreateButton(0.5113,0.7433,0.105,0.0767,"Close Wnd",true,GUIEditor_Window[1]) 
  
GUIEditor_Label[1] = guiCreateLabel(0.3625,0.2783,0.3925,0.07,"=== | لوحــةة الأنآشــيد | ===",true,GUIEditor_Window[1]) 
guiLabelSetColor(GUIEditor_Label[1],0,134,139) 
guiSetFont(GUIEditor_Label[1], guiCreateFont( "RaYaN.ttf", 18 ) ) 
  
GUIEditor_Label[2] = guiCreateLabel(0.6062,0.23,0.1163,0.0283,"By : Mr.Ray[b]ak",true,GUIEditor_Window[1]) 
guiLabelSetColor(GUIEditor_Label[2],255,0,0) 
  
GUIEditor_Label[3] = guiCreateLabel(0.2725,0.7933,0.0925,0.0283,"Saleh Al Yami",true,GUIEditor_Window[1]) 
guiLabelSetColor(GUIEditor_Label[3],122,103,238) 
  
GUIEditor_Image[1] = guiCreateStaticImage(0.2663,0.2233,0.4563,0.6133,"games.png",true,GUIEditor_Window[1]) 
------------------------------------------------------- 
  
function open() 
if (guiGetVisible(GUIEditor_Window[1]) == false) then 
guiSetVisible(GUIEditor_Window[1], true) 
showCursor(true) 
else 
guiSetVisible(GUIEditor_Window[1], false) 
showCursor(false) 
end 
end 
bindKey("F2","down",open) 

اللوحةة مآ ظهرت أبد ! = (

Link to comment
function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) 
    local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "games.png", relative2 ) 
    local mainBackgroundLabel = guiCreateLabel ( 0, 0, 250, 100, titleBarText2, false, mainBackground ) 
    guiSetEnabled ( mainBackgroundLabel, false ) 
    return mainBackground 
end 
  
GUIEditor_Window = {} 
GUIEditor_Button = {} 
GUIEditor_Label = {} 
GUIEditor_Image = {} 
  
GUIEditor_Window[1] = guiCreateWindow(0.265,0.2217,0.4575,0.615,"",false) 
  
  
GUIEditor_Button[1] = guiCreateButton(0.355,0.38,0.105,0.0767,"Sound 1",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[2] = guiCreateButton(0.5375,0.3767,0.105,0.0767,"Sound 2",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[3] = guiCreateButton(0.355,0.5833,0.105,0.0767,"Sound 3",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[4] = guiCreateButton(0.5362,0.5783,0.105,0.0767,"Sound 4",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[5] = guiCreateButton(0.3875,0.7433,0.105,0.0767,"Stop | إيقآف",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[6] = guiCreateButton(0.5113,0.7433,0.105,0.0767,"Close Wnd",true,GUIEditor_Window[1]) 
  
GUIEditor_Label[1] = guiCreateLabel(0.3625,0.2783,0.3925,0.07,"=== | لوحــةة الأنآشــيد | ===",true,GUIEditor_Window[1]) 
guiLabelSetColor(GUIEditor_Label[1],0,134,139) 
guiSetFont(GUIEditor_Label[1], guiCreateFont( "RaYaN.ttf", 18 ) ) 
  
GUIEditor_Label[2] = guiCreateLabel(0.6062,0.23,0.1163,0.0283,"By : Mr.Ray[b]ak",true,GUIEditor_Window[1]) 
guiLabelSetColor(GUIEditor_Label[2],255,0,0) 
  
GUIEditor_Label[3] = guiCreateLabel(0.2725,0.7933,0.0925,0.0283,"Saleh Al Yami",true,GUIEditor_Window[1]) 
guiLabelSetColor(GUIEditor_Label[3],122,103,238) 
  
GUIEditor_Image[1] = guiCreateStaticImage(0.2663,0.2233,0.4563,0.6133,"games.png",true,GUIEditor_Window[1]) 
------------------------------------------------------- 
  
function open() 
if (guiGetVisible(GUIEditor_Window[1]) == false) then 
guiSetVisible(GUIEditor_Window[1], true) 
showCursor(true) 
else 
guiSetVisible(GUIEditor_Window[1], false) 
showCursor(false) 
end 
end 
bindKey("F2","down",open) 

اللوحةة مآ ظهرت أبد ! = (

شغالة معي بس صغيرة بالزاوية اللي يمين مرة صغيرة :lol:

Link to comment
function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) 
        local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "games.png", relative2 ) 
        local mainBackgroundLabel = guiCreateLabel ( 0, 0, 250, 100, titleBarText2, false, mainBackground ) 
        guiSetEnabled ( mainBackgroundLabel, false ) 
        return mainBackground 
    end 
      
    GUIEditor_Window = {} 
    GUIEditor_Button = {} 
    GUIEditor_Label = {} 
    GUIEditor_Image = {} 
      
    GUIEditor_Window[1] = guiCreateWindow(0.265,0.2217,0.4575,0.615,"",true) 
      
      
    GUIEditor_Button[1] = guiCreateButton(0.355,0.38,0.105,0.0767,"Sound 1",true,GUIEditor_Window[1]) 
      
    GUIEditor_Button[2] = guiCreateButton(0.5375,0.3767,0.105,0.0767,"Sound 2",true,GUIEditor_Window[1]) 
      
    GUIEditor_Button[3] = guiCreateButton(0.355,0.5833,0.105,0.0767,"Sound 3",true,GUIEditor_Window[1]) 
      
    GUIEditor_Button[4] = guiCreateButton(0.5362,0.5783,0.105,0.0767,"Sound 4",true,GUIEditor_Window[1]) 
      
    GUIEditor_Button[5] = guiCreateButton(0.3875,0.7433,0.105,0.0767,"Stop | إيقآف",true,GUIEditor_Window[1]) 
      
    GUIEditor_Button[6] = guiCreateButton(0.5113,0.7433,0.105,0.0767,"Close Wnd",true,GUIEditor_Window[1]) 
      
    GUIEditor_Label[1] = guiCreateLabel(0.3625,0.2783,0.3925,0.07,"=== | لوحــةة الأنآشــيد | ===",true,GUIEditor_Window[1]) 
    guiLabelSetColor(GUIEditor_Label[1],0,134,139) 
    guiSetFont(GUIEditor_Label[1], guiCreateFont( "RaYaN.ttf", 18 ) ) 
      
    GUIEditor_Label[2] = guiCreateLabel(0.6062,0.23,0.1163,0.0283,"By : Mr.Ray[b]ak",true,GUIEditor_Window[1]) 
    guiLabelSetColor(GUIEditor_Label[2],255,0,0) 
      
    GUIEditor_Label[3] = guiCreateLabel(0.2725,0.7933,0.0925,0.0283,"Saleh Al Yami",true,GUIEditor_Window[1]) 
    guiLabelSetColor(GUIEditor_Label[3],122,103,238) 
      
    GUIEditor_Image[1] = guiCreateStaticImage(0.2663,0.2233,0.4563,0.6133,"games.png",true,GUIEditor_Window[1]) 

Link to comment

-- Client Side !

function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) 
    local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "games.png", relative2 ) 
    local mainBackgroundLabel = guiCreateLabel ( 0, 0, 250, 100, titleBarText2, false, mainBackground ) 
    guiSetEnabled ( mainBackgroundLabel, false ) 
    return mainBackground 
end 
  
GUIEditor_Window = {} 
GUIEditor_Button = {} 
GUIEditor_Label = {} 
GUIEditor_Image = {} 
  
GUIEditor_Window[1] = guiCreateWindow(0.265,0.2217,0.4575,0.615,"",true) 
  
  
GUIEditor_Button[1] = guiCreateButton(0.355,0.38,0.105,0.0767,"Sound 1",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[2] = guiCreateButton(0.5375,0.3767,0.105,0.0767,"Sound 2",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[3] = guiCreateButton(0.355,0.5833,0.105,0.0767,"Sound 3",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[4] = guiCreateButton(0.5362,0.5783,0.105,0.0767,"Sound 4",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[5] = guiCreateButton(0.3875,0.7433,0.105,0.0767,"Stop | إيقآف",true,GUIEditor_Window[1]) 
  
GUIEditor_Button[6] = guiCreateButton(0.5113,0.7433,0.105,0.0767,"Close Wnd",true,GUIEditor_Window[1]) 
  
GUIEditor_Label[1] = guiCreateLabel(0.3625,0.2783,0.3925,0.07,"=== | لوحــةة الأنآشــيد | ===",true,GUIEditor_Window[1]) 
guiLabelSetColor(GUIEditor_Label[1],0,134,139) 
guiSetFont(GUIEditor_Label[1], guiCreateFont( "RaYaN.ttf", 18 ) ) 
  
GUIEditor_Label[2] = guiCreateLabel(0.6062,0.23,0.1163,0.0283,"By : Mr.Ray[b]ak",true,GUIEditor_Window[1]) 
guiLabelSetColor(GUIEditor_Label[2],255,0,0) 
  
GUIEditor_Label[3] = guiCreateLabel(0.2725,0.7933,0.0925,0.0283,"Saleh Al Yami",true,GUIEditor_Window[1]) 
guiLabelSetColor(GUIEditor_Label[3],122,103,238) 
  
GUIEditor_Image[1] = guiCreateStaticImage(0.2663,0.2233,0.4563,0.6133,"games.png",true,GUIEditor_Window[1]) 
------------------------------------------------------- 
  
function open() 
if (guiGetVisible(GUIEditor_Window[1]) == false) then 
guiSetVisible(GUIEditor_Window[1], true) 
showCursor(true) 
else 
guiSetVisible(GUIEditor_Window[1], false) 
showCursor(false) 
end 
end 
bindKey("F2","down",open) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...