Jump to content

شكرا


THEWORKERz

Recommended Posts

function centerWindow (center_window) 
    local screenW, screenH = guiGetScreenSize() 
    local windowW, windowH = guiGetSize(center_window, false) 
    local x, y = (screenW - windowW) /2,(screenH - windowH) /2 
    guiSetPosition(center_window, x, y, false) 
end 
  
wnd = guiCreateWindow(0, 0, 1, 1, "", true) 
guiSetVisible(wnd, false) 
centerWindow( wnd ) 
  
  
  
b1 = guiCreateStaticImage(1248, 129, 108, 106, "shop.png", false, wnd) 
setElementData(b1, "tooltip-text", "الشوب", false) 
b2 = guiCreateStaticImage(1248, 235, 108, 106, "weth.png", false, wnd) 
setElementData(b2, "tooltip-text", "اسلحة 1", false) 
b3 = guiCreateStaticImage(1248, 370, 108, 89, "wepo.png", false, wnd) 
setElementData(b3, "tooltip-text", "اسلحة 2", false) 
b4 = guiCreateStaticImage(1197, 469, 159, 106, "car.png", false, wnd) 
setElementData(b4, "tooltip-text", "السيارات", false) 
b5 = guiCreateStaticImage(1251, 579, 105, 105, "skins.png", false, wnd) 
setElementData(b5, "tooltip-text", "الشخصيات", false) 
  
  
  
bindKey ( "F7" , "down" , function() 
    guiSetVisible ( wnd ,not guiGetVisible ( wnd ) ) 
    showCursor ( guiGetVisible ( wnd ) ) 
    guiSetInputEnabled( guiGetVisible ( wnd ) ) 
end) 
  
  

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...