XI_Alooy1212_IX Posted July 7, 2014 Share Posted July 7, 2014 السلام عليكم ممكن مساعدة GUIEditor = { window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(254, 193, 313, 215, "Test", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FEFFFDFD") repair = guiCreateButton(0.18, 0.27, 0.64, 0.55, "r", true, GUIEditor.window[1]) guiSetProperty(repair, "ID", "1") guiSetProperty(repair, "NormalTextColour", "FEFEFDFD") guiSetVisible ( GUIEditor.window[1], false ) end) Link to comment
XI_Alooy1212_IX Posted July 7, 2014 Author Share Posted July 7, 2014 وش فيه بالضبط الوحة تنفتح اول ما اشغل المود Link to comment
#=|>[A]sMr,\~> Posted July 7, 2014 Share Posted July 7, 2014 GUIEditor = { window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(254, 193, 313, 215, "Test", false) guiSetVisible (GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FEFFFDFD") repair = guiCreateButton(0.18, 0.27, 0.64, 0.55, "r", true, GUIEditor.window[1]) guiSetProperty(repair, "ID", "1") guiSetProperty(repair, "NormalTextColour", "FEFEFDFD") guiSetVisible ( GUIEditor.window[1], false ) end) bindKey ( "F4", "down", -- F4 اختار اسم الزر function() if guiGetVisible(GUIEditor.window[1]) then guiSetVisible(GUIEditor.window[1], false) showCursor(false) guiSetInputEnabled(false) else guiSetVisible(GUIEditor.window[1], true) showCursor(true) guiSetInputEnabled(true) end end) Link to comment
XI_Alooy1212_IX Posted July 7, 2014 Author Share Posted July 7, 2014 شكرآ تم الحل ^_~ Link to comment
#=|>[A]sMr,\~> Posted July 7, 2014 Share Posted July 7, 2014 شكرآ تم الحل ^_~ العفوا ^^ 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