Jump to content

تم الحل !


RoMaNd!

Recommended Posts

 GUIEditor = { 
    button = {}, 
    edit = {}, 
    progressbar = {}, 
    label = {}, 
    tab = {}, 
    memo = {}, 
    radiobutton = {}, 
    gridlist = {}, 
    checkbox = {}, 
    tabpanel = {}, 
    scrollpane = {}, 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.tabpanel[1] = guiCreateTabPanel(103, 98, 630, 453, false) 
        guiSetVisible (GUIEditor.tabpanel[1], false)   
        GUIEditor.tab[1] = guiCreateTab("القــوانين", GUIEditor.tabpanel[1]) 
  
        GUIEditor.button[1] = guiCreateButton(44, 25, 244, 93, "", false, GUIEditor.tab[1]) 
        GUIEditor.button[2] = guiCreateButton(347, 25, 244, 93, "السب + الشتم +ازعاج الادمنية ", false, GUIEditor.tab[1]) 
        guiSetFont(GUIEditor.button[2], "sa-header") 
        guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") 
        GUIEditor.button[3] = guiCreateButton(347, 149, 244, 93, "الهـاك", false, GUIEditor.tab[1]) 
        guiSetFont(GUIEditor.button[3], "sa-header") 
        guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFF0000") 
        GUIEditor.button[4] = guiCreateButton(347, 274, 244, 93, "", false, GUIEditor.tab[1]) 
        GUIEditor.button[5] = guiCreateButton(44, 25, 244, 93, "مــيوت 5 دقائـق", false, GUIEditor.tab[1]) 
        guiSetFont(GUIEditor.button[5], "sa-gothic") 
        guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF0615A4") 
        GUIEditor.button[6] = guiCreateButton(44, 148, 244, 93, "بـــاند 1000 ســنة", false, GUIEditor.tab[1]) 
        guiSetFont(GUIEditor.button[6], "sa-gothic") 
        guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FF0615A4") 
        GUIEditor.button[7] = guiCreateButton(44, 274, 244, 93, "بـاند 30 يـــوم", false, GUIEditor.tab[1]) 
        guiSetFont(GUIEditor.button[7], "sa-gothic") 
        guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FF0615A4") 
        GUIEditor.button[8] = guiCreateButton(347, 274, 243, 91, "النشـــــر", false, GUIEditor.tab[1]) 
        guiSetFont(GUIEditor.button[8], "sa-header") 
        guiSetProperty(GUIEditor.button[8], "NormalTextColour", "FFFF0000") 
        GUIEditor.scrollpane[2] = guiCreateScrollPane(, , 70, 16, false, GUIEditor.tab[1]) 
        guiSetAlpha(GUIEditor.scrollpane[2], 0.00) 
        GUIEditor.gridlist[3] = guiCreateGridList(15, 376, 599, 46, false, GUIEditor.tab[1]) 
        guiGridListAddColumn(GUIEditor.gridlist[3], "by:RoMaNd", 0.9) 
        GUIEditor.label[2] = guiCreateLabel(508, 385, 15, 15, "", false, GUIEditor.tab[1]) 
  
        GUIEditor.tab[2] = guiCreateTab("الشروط", GUIEditor.tabpanel[1]) 
  
        GUIEditor.button[9] = guiCreateButton(30, 39, 576, 84, "الرجـآآء عدم طلب ادمنية إلا اذا كنت تستحقها", false, GUIEditor.tab[2]) 
        guiSetFont(GUIEditor.button[9], "default-bold-small") 
        guiSetProperty(GUIEditor.button[9], "NormalTextColour", "FF056455") 
        GUIEditor.button[10] = guiCreateButton(30, 137, 576, 84, "مساعدة الاعضاء و الاحترام والتواجد = الادمنية", false, GUIEditor.tab[2]) 
        guiSetFont(GUIEditor.button[10], "default-bold-small") 
        guiSetProperty(GUIEditor.button[10], "NormalTextColour", "FF056455") 
        GUIEditor.button[11] = guiCreateButton(30, 236, 576, 84, "يمنع إزعاج اي ادمن", false, GUIEditor.tab[2]) 
        guiSetFont(GUIEditor.button[11], "default-bold-small") 
        guiSetProperty(GUIEditor.button[11], "NormalTextColour", "FF056455") 
  
        GUIEditor.progressbar[1] = guiCreateProgressBar(418, -168, 175, 108, false, GUIEditor.button[11]) 
  
        GUIEditor.edit[3] = guiCreateEdit(80, 355, 469, 49, "                                     الرجــاء الآتزام بالقوانين \"مع تحيات ادارة السيرفر\"", false, GUIEditor.tab[2]) 
        guiSetProperty(GUIEditor.edit[3], "NormalTextColour", "FF347EF8") 
        guiEditSetReadOnly(GUIEditor.edit[3], true) 
  
        GUIEditor.radiobutton[1] = guiCreateRadioButton(-56, -19, 87, 17, "", false, GUIEditor.edit[3]) 
  
  
        GUIEditor.tab[4] = guiCreateTab("لــقد قــبلت !", GUIEditor.tabpanel[1]) 
  
        GUIEditor.button[15] = guiCreateButton(82, 130, 428, 122, "لــــقد قــبلت", false, GUIEditor.tab[4]) 
        guiSetFont(GUIEditor.button[15], "sa-gothic") 
        guiSetProperty(GUIEditor.button[15], "NormalTextColour", "FF9D5119") 
  
        GUIEditor.checkbox[5] = guiCreateCheckBox(445, 41, 54, 40, "", false, false, GUIEditor.button[15]) 
  
        GUIEditor.checkbox[6] = guiCreateCheckBox(520, 183, 15, 15, "", true, false, GUIEditor.tab[4]) 
        GUIEditor.checkbox[7] = guiCreateCheckBox(424, 366, 15, 15, "", true, false, GUIEditor.tab[4]) 
        GUIEditor.memo[1] = guiCreateMemo(414, 381, 189, 33, "By    RoMaNd", false, GUIEditor.tab[4]) 
        guiMemoSetReadOnly(GUIEditor.memo[1], true) 
        GUIEditor.memo[2] = guiCreateMemo(22, 165, 564, 60, "", false, GUIEditor.tab[4]) 
        guiSetAlpha(GUIEditor.memo[2], 0.33)     
    end 
) 
  
function OpenWin() 
    if guiGetVisible ( GUIEditor.tabpanel[1] ) then 
       guiSetVisible ( GUIEditor.tabpanel[1], false ) 
       showCursor(false) 
       guiSetInputEnabled(false) 
    else 
        guiSetVisible ( GUIEditor.tabpanel[1], true ) 
        showCursor(true) 
        guiSetInputEnabled(true) 
  
    end 
end 
bindKey("F3", "down", OpenWin) 

Link to comment
وين كود النافذة اصلاً

<~~

  
     guiSetVisible (win, false)   
function OpenWin() 
    if guiGetVisible ( win ) then 
       guiSetVisible ( win, false ) 
       showCursor(false) 
       guiSetInputEnabled(false) 
    else 
        guiSetVisible ( win, true ) 
        showCursor(true) 
        guiSetInputEnabled(true) 
  
    end 
end 
bindKey("F3", "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...