Jump to content

تعديل


Adham

Recommended Posts

السلام عليكم

اليوم عملت

لوحه ما تفتح

وعمل كل شي

كلنت

local alzr = 'm' 
  
  
-- 
GUIEditor = { 
    gridlist = {}, 
    button = {}, 
    label = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        wnd = guiCreateWindow(551, 138, 249, 435, ":: Police Panel ::", false) 
        guiWindowSetSizable(wnd, false) 
  
        GUIEditor.button[1] = guiCreateButton(9, 327, 109, 45, "Kil / Slap", false, wnd) 
        guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF04B0AA") 
        GUIEditor.button[2] = guiCreateButton(130, 327, 109, 45, "Destroy Car", false, wnd) 
        guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF04AE8C") 
        GUIEditor.button[3] = guiCreateButton(10, 255, 230, 32, "Blow Car", false, wnd) 
        guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFD9CC00") 
        GUIEditor.button[4] = guiCreateButton(9, 290, 230, 32, "Spectate Car", false, wnd) 
        guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF4CD800") 
        GUIEditor.button[5] = guiCreateButton(10, 377, 224, 31, "X", false, wnd) 
        guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFAAAAAA") 
        GUIEditor.label[1] = guiCreateLabel(10, 410, 216, 15, "غير أجباري | Not Requred", false, wnd) 
        guiLabelSetColor(GUIEditor.label[1], 175, 0, 0) 
        GUIEditor.gridlist[1] = guiCreateGridList(9, 21, 231, 230, false, wnd) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "Player", 0.9)     
    end 
) 
-- 
  
bindKey (alzr,'down', 
function () 
guiSetVisible (wnd,not guiGetVisible (wnd)) 
showCursor (guiGetVisible (wnd)) 
end) 
  
Link to comment

جرب لو مافتحت شغل الديبق وقول وش يطلع لك اخطاء

GUIEditor = { 
gridlist = {}, 
button = {}, 
label = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
function() 
wnd = guiCreateWindow(551, 138, 249, 435, ":: Police Panel ::", false) 
guiWindowSetSizable(wnd, false) 
GUIEditor.button[1] = guiCreateButton(9, 327, 109, 45, "Kil / Slap", false, wnd) 
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF04B0AA") 
GUIEditor.button[2] = guiCreateButton(130, 327, 109, 45, "Destroy Car", false, wnd) 
guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF04AE8C") 
GUIEditor.button[3] = guiCreateButton(10, 255, 230, 32, "Blow Car", false, wnd) 
guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFD9CC00") 
GUIEditor.button[4] = guiCreateButton(9, 290, 230, 32, "Spectate Car", false, wnd) 
guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF4CD800") 
GUIEditor.button[5] = guiCreateButton(10, 377, 224, 31, "X", false, wnd) 
guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFAAAAAA") 
GUIEditor.label[1] = guiCreateLabel(10, 410, 216, 15, "غير أجباري | Not Requred", false, wnd) 
guiLabelSetColor(GUIEditor.label[1], 175, 0, 0) 
GUIEditor.gridlist[1] = guiCreateGridList(9, 21, 231, 230, false, wnd) 
guiGridListAddColumn(GUIEditor.gridlist[1], "Player", 0.9)  
bindKey ('m','down',key)  
guiSetVisible (wnd,false ) 
end) 
function key() 
guiSetVisible (wnd,not guiGetVisible (wnd)) 
showCursor (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...