Jump to content

مشكلة لوحة


Recommended Posts

سلام عليكم

عندي مشكلة بلوحة

اني لما اشغل المود طوالي اللوحة تفتح

وانا مابيها كذا

ياريت تساعدوني :

GUIEditor = { 
    button = {}, 
    window = {}, 
    staticimage = {} 
} 
  
     wnd = guiCreateWindow(0.33, 0.32, 0.36, 0.50, "Restureannt", true) 
        guiWindowSetSizable(wnd, false) 
  
        GUIEditor.staticimage[1] = guiCreateStaticImage(10, 43, 338, 258, "img/2.png", false, wnd) 
        GUIEditor.staticimage[2] = guiCreateStaticImage(366, 43, 319, 258, "img/1.png", false, wnd) 
        S = guiCreateButton(0.07, 0.69, 0.33, 0.16, "------", true, wnd) 
        guiSetFont(S, "default-bold-small") 
        guiSetProperty(S, "NormalTextColour", "FF25A8D9") 
        B = guiCreateButton(414, 370, 228, 85, "------", false, wnd) 
        guiSetFont(B, "default-bold-small") 
        guiSetProperty(B, "NormalTextColour", "FF25A8D9") 
        close = guiCreateButton(321, 491, 52, 39, "X", false, wnd) 
        guiSetProperty(X, "NormalTextColour", "FFFD0000")     

Edited by Guest
Link to comment

الي فهمته منك انك تبيها اول ماتشغل المود ماتطلع في وجهك وهذا الكود بعد التعديل

GUIEditor = { 
    button = {}, 
    window = {}, 
    staticimage = {} 
} 
 addEventHandler("onClientResourceStart",resourceRoot, function () 
     wnd = guiCreateWindow(0.33, 0.32, 0.36, 0.50, "resturans | [ By ThexGamer ] |", true) 
        guiWindowSetSizable(wnd, false) 
        guiSetVisible ( wnd, false ) 
        GUIEditor.staticimage[1] = guiCreateStaticImage(10, 43, 338, 258, "img/2.png", false, wnd) 
        GUIEditor.staticimage[2] = guiCreateStaticImage(366, 43, 319, 258, "img/1.png", false, wnd) 
        S = guiCreateButton(0.07, 0.69, 0.33, 0.16, "------", true, wnd) 
        guiSetFont(S, "default-bold-small") 
        guiSetProperty(S, "NormalTextColour", "FF25A8D9") 
        B = guiCreateButton(414, 370, 228, 85, "------", false, wnd) 
        guiSetFont(B, "default-bold-small") 
        guiSetProperty(B, "NormalTextColour", "FF25A8D9") 
        close = guiCreateButton(321, 491, 52, 39, "X", false, wnd) 
        guiSetProperty(X, "NormalTextColour", "FFFD0000") 
end ) 
Link to comment
الا تمام ,,

وش سويت لو سمحت ؟

عشان اتعلم

اضفت هذا الكود على اللوحه

guiSetVisible ( wnd, false ) 

false تحط اسم اللوحه وبعدين

تطلع اللوحه true عشان اللوحه ماتطلع في وجهك اول ماتشغلها واذا خليتها

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