Kas7 Posted July 15, 2020 Share Posted July 15, 2020 السلام عليكم ممكن مساعدة في اظهار واخفاء اليبل ؟ GUIEditor = { button = {}, edit = {}, label = {} } function GUIWIND() GUIEditor.label[1] = guiCreateLabel(556, 310, 850, 474, "", false, GUIEditor.label[1]) GUIEditor.button[1] = guiCreateButton(0.30, 0.68, 0.06, 0.04, "Send", true, GUIEditor.label[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FEFF3737") GUIEditor.edit[1] = guiCreateEdit(0.30, 0.39, 0.14, 0.04, "", true, GUIEditor.label[1]) guiSetAlpha(GUIEditor.edit[1], 0.00) GUIEditor.edit[2] = guiCreateEdit(0.30, 0.51, 0.14, 0.04, "", true, GUIEditor.label[1]) guiSetAlpha(GUIEditor.edit[2], 0.00) GUIEditor.edit[3] = guiCreateEdit(0.52, 0.38, 0.20, 0.24, "", true, GUIEditor.label[1]) guiSetAlpha(GUIEditor.edit[3], 0.40) end Link to comment
Kas7 Posted July 15, 2020 Author Share Posted July 15, 2020 3 minutes ago, N3xT said: guiSetVisible تقدر تعطيني مثال؟ عشان انا حولت كثير وما نفعت Link to comment
N3xT Posted July 15, 2020 Share Posted July 15, 2020 guiSetVisible(GUIEditor.label[1], false) 1 Link to comment
Kas7 Posted July 15, 2020 Author Share Posted July 15, 2020 (edited) 24 minutes ago, N3xT said: guiSetVisible(GUIEditor.label[1], false) ذا الكود bindKey("f5","down",function() if (guiGetVisible(GUIEditor.label[1]) == true) then guiSetVisible(GUIEditor.label[1], false) showCursor(false) else guiSetVisible(GUIEditor.label[1], true) showCursor(true) end end) خلاص عرفت فين المشكلة وحليتها واشتغلت شكرا علي مساعدتك N3xT طبعا سبب الي سبب ان guiSetVisible متقومش بوظيفتها هوا addEventHandler ( "onResourceStart"... وبتالي خليت فنشكشن الجيو مشتغلش Edited July 15, 2020 by Kas7 1 Link to comment
Jw8. Posted July 20, 2020 Share Posted July 20, 2020 فيه امثلة بلويكي اذا م تعرف .. رابط : اضغط هنا 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