Jump to content

[سؤال] الصورة ؟


Recommended Posts

السالام عليكم

شباب انا سويت بالجيو اديتور اللوحة وازرار تمام ؟

الحين انا سويت وضيفة 

guiCreateStaticImage

لكن لما احطها داخل اللوحة تطلع برا فهمتو علي ؟

يعني لما احط الصورة داخل الجيو تصير برا الجيو  مو داخلها

وش الحل

Link to comment
Just now, yasin0 said:

السالام عليكم

شباب انا سويت بالجيو اديتور اللوحة وازرار تمام ؟

الحين انا سويت وضيفة 

guiCreateStaticImage

لكن لما احطها داخل اللوحة تطلع برا فهمتو علي ؟

يعني لما احط الصورة داخل الجيو تصير برا الجيو  مو داخلها

وش الحل


في البدايا انت تضغط ضغطة بسهم الماوس الايمن عشان تبدأ تصميم

مثلاً انت سويت لوحة

لو تبي تسوي شي داخلها اضفط ضغطة بسهم الماوس الايمن داخل اللوحة عشان تسوي الشي الجديد داخلها

ولو ما تبيه داخلها اضفط بالسهم خارج التصميم

هذا اللي فهمته منك .. غير كدة وضح اكثر

Link to comment
Just now, yasin0 said:

مافهمت قصدي شوف الصورة شف الدم طالع برا مو داخل اللوحة

p_520vipga1.png


عفواً انا مب شايف صور ولا اي شي .. يمكن انت تقصد تصميم الدي اكس ؟

واذا لا .. اطرح لي اسم اللوحة و كود انشاء الصورة

Link to comment

GUIEditor = {
    button = {},
    window = {},
    label = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
    function()
local screenW, screenH = guiGetScreenSize()
        GUIEditor.window[1] = guiCreateWindow((screenW - 523) / 2, (screenH - 381) / 2, 523, 381, "Vip Panel", false)
        guiWindowSetSizable(GUIEditor.window[1], false)
        guiSetAlpha(GUIEditor.window[1], 0.85)
        guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFCDC104")
        GUIEditor.label[4] = guiCreateLabel(226, 139, 50, 19, "المميزات", false, GUIEditor.window[1])
        guiLabelSetColor(GUIEditor.label[4], 31, 177, 100)
        GUIEditor.button[1] = guiCreateButton(17, 196, 71, 32, "دم", false, GUIEditor.window[1])
        guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFCF0000")
        GUIEditor.button[2] = guiCreateButton(110, 198, 79, 30, "درع", false, GUIEditor.window[1])
        guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFFFEFE")
        GUIEditor.button[3] = guiCreateButton(208, 196, 83, 32, "قفزة عالية", false, GUIEditor.window[1])
        guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF09DFA5")
        GUIEditor.button[4] = guiCreateButton(314, 198, 93, 30, "دخان", false, GUIEditor.window[1])
        guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFD9B50E")
        GUIEditor.button[5] = guiCreateButton(423, 198, 81, 31, "اختفاء", false, GUIEditor.window[1])
        guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF0CBAD9")    
    end
)

addEventHandler("onClientRender", root,
    function()
        dxDrawLine(141, 242, 671, 242, tocolor(255, 255, 255, 255), 1)
    end
)
bt = { }
bt[1] = guiCreateStaticImage(140,196,60,60,"icons/1.png",false,GUIEditor.label[1])

 

Link to comment
local screenW, screenH = guiGetScreenSize()
window = guiCreateWindow((screenW - 523) / 2, (screenH - 381) / 2, 523, 381, "Vip Panel", false)
guiWindowSetSizable(window, false)
guiSetAlpha(window, 0.85)
guiSetProperty(window, "CaptionColour", "FFCDC104")

label1 = guiCreateLabel(226, 139, 50, 19, "المميزات", false, window)
guiLabelSetColor(label1, 31, 177, 100)

button1 = guiCreateButton(17, 196, 71, 32, "دم", false, window)
guiSetProperty(button1, "NormalTextColour", "FFCF0000")

button2 = guiCreateButton(110, 198, 79, 30, "درع", false, window)
guiSetProperty(button2, "NormalTextColour", "FFFFFEFE")

button3 = guiCreateButton(208, 196, 83, 32, "قفزة عالية", false, window)
guiSetProperty(button3, "NormalTextColour", "FF09DFA5")

button4 = guiCreateButton(314, 198, 93, 30, "دخان", false, window)
guiSetProperty(button4, "NormalTextColour", "FFD9B50E")

button5 = guiCreateButton(423, 198, 81, 31, "اختفاء", false, window)
guiSetProperty(button5, "NormalTextColour", "FF0CBAD9")    

StaticImageButton = guiCreateStaticImage(25,25,60,60,"icons/1.png",false,window)

addEventHandler("onClientRender", root,
    function()
        dxDrawLine(141, 242, 671, 242, tocolor(255, 255, 255, 255), 1)
    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...