ميدوح Posted September 30, 2016 Share Posted September 30, 2016 (edited) السلام عليكم ورحمة الله وبركاته كيفكم؟ ابي اسوي من داخل gui dx كود GUIEditor = { window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(234, 258, 270, 200, "WIN", false) guiWindowSetSizable(GUIEditor.window[1], false) end ) addEventHandler("onClientRender", root, function() dxDrawText("NAME :", 280, 300, 448, 427, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end ) Edited September 30, 2016 by medo7 Link to comment
#BrosS Posted September 30, 2016 Share Posted September 30, 2016 dxCreateWindow https://wiki.multitheftauto.com/wiki/DxGUI/dxCreateWindow Link to comment
</Mr.Tn6eL> Posted September 30, 2016 Share Posted September 30, 2016 اذا تقصد انك تضع محتويات الدي اكس في اللوحة استخدم حسابات local x, y = windowX+dxX, windowY+dxY نطبق على اكوادك تصير GUIEditor = { window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(234, 258, 270, 200, "WIN", false) guiWindowSetSizable(GUIEditor.window[1], false) end ) addEventHandler("onClientRender", root, function() dxDrawText("NAME :", 234+280, 258+300, 448, 427, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end ) 1 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