abo_7mod Posted June 17, 2015 Share Posted June 17, 2015 (edited) سلام عليكم عندي مشكلة بلوحة اني لما اشغل المود طوالي اللوحة تفتح وانا مابيها كذا ياريت تساعدوني : 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 June 17, 2015 by Guest Link to comment
Mr.R Posted June 17, 2015 Share Posted June 17, 2015 الي فهمته منك انك تبيها اول ماتشغل المود ماتطلع في وجهك وهذا الكود بعد التعديل 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
abo_7mod Posted June 17, 2015 Author Share Posted June 17, 2015 وش سويت لو سمحت لان الوحة مو انا سويتها Link to comment
abo_7mod Posted June 17, 2015 Author Share Posted June 17, 2015 الا تمام ,, وش سويت لو سمحت ؟ عشان اتعلم Link to comment
Mr.R Posted June 17, 2015 Share Posted June 17, 2015 الا تمام ,, وش سويت لو سمحت ؟ عشان اتعلم اضفت هذا الكود على اللوحه guiSetVisible ( wnd, false ) false تحط اسم اللوحه وبعدين تطلع اللوحه true عشان اللوحه ماتطلع في وجهك اول ماتشغلها واذا خليتها Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now