Jump to content

ابي كود نافذة صوره وصوره للزر


xb0

Recommended Posts

وين النافذة اللي مسويها ؟

ذي النافذه حقه

function showClientImage() 
   guiCreateStaticImage( 139, 178, 554, 342, "imagename.png", false ) 
end 
addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource() ), showClientImage ) 
GUIEditor_Tab[1] = guiCreateTab("::قوانين الزوار::",GUIEditor_TabPanel[1]) 
GUIEditor_Tab[2] = guiCreateTab("::قوانين الادمنيه::",GUIEditor_TabPanel[1]) 
GUIEditor_Tab[3] = guiCreateTab("::شروحات السيرفر::",GUIEditor_TabPanel[1]) 
GUIEditor_Tab[4] = guiCreateTab("::ادارة السيرفر::",GUIEditor_TabPanel[1]) 
GUIEditor_Tab[5] = guiCreateTab("::منتدى السيرفر::",GUIEditor_TabPanel[1]) 
  
  
        guiSetVisible (GUIEditor_Window[1], false)   
function OpenWin() 
    if guiGetVisible ( GUIEditor_Window[1] ) then 
       guiSetVisible ( GUIEditor_Window[1], false ) 
       showCursor(false) 
       guiSetInputEnabled(false) 
    else 
        guiSetVisible ( GUIEditor_Window[1], true ) 
        showCursor(true) 
        guiSetInputEnabled(true) 
  
    end 
end 
bindKey("F2", "down", OpenWin) 

Link to comment

جـرب ,

Image = guiCreateStaticImage( 139, 178, 554, 342, "imagename.png", false ) 
  
Tabs = guiCreateTabPanel(2,0,545,339,false,Image) 
  
Teabs = guiCreateTab("::قوانين الزوار::",Tabs) 
tebs = guiCreateTab("::قوانين الادمنيه::",Tabs) 
taebs = guiCreateTab("::شروحات السيرفر::",Tabs) 
teabse = guiCreateTab("::ادارة السيرفر::",Tabs) 
teabes = guiCreateTab("::منتدى السيرفر::",Tabs) 
  
  
        guiSetVisible (Image, false)   
function OpenWin() 
    if guiGetVisible ( Image ) then 
       guiSetVisible ( Image, false ) 
       showCursor(false) 
       guiSetInputEnabled(false) 
    else 
        guiSetVisible ( Image, true ) 
        showCursor(true) 
        guiSetInputEnabled(true) 
  
    end 
end 
bindKey("F2", "down", OpenWin) 
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...