XI_Alooy1212_IX Posted July 27, 2014 Share Posted July 27, 2014 السلام عليكم ابي كود يغلاق الوندو + السهم يختفي Link to comment
XI_Alooy1212_IX Posted July 27, 2014 Author Share Posted July 27, 2014 وين الردود ~_~ Link to comment
Nasa47 Posted July 27, 2014 Share Posted July 27, 2014 function showGui () guiSetVisible (win, not guiGetVisible (win)) showCursor( not isCursorShowing()) end --Event Link to comment
XI_Alooy1212_IX Posted July 27, 2014 Author Share Posted July 27, 2014 function showGui () guiSetVisible (win, not guiGetVisible (win)) showCursor( not isCursorShowing()) end --Event وش ذي الخربيط ~_~ اطرح كود + وين اخلي الوندو + البوتون ؟؟ ~_~ Link to comment
TAPL Posted July 28, 2014 Share Posted July 28, 2014 افتح الروابط و اقرأ و افهم ولا تصير كسول و تعتمد على الآخرين https://wiki.multitheftauto.com/wiki/GuiSetVisible https://wiki.multitheftauto.com/wiki/ShowCursor Link to comment
SaRy,#DanGer Posted July 28, 2014 Share Posted July 28, 2014 ._. ترى ااغلاق الويندو في البند كي يعني لو مثلا انت حطيت البند كي والكود ماله يغلق اللوحه ._. وتفتحها مثلا local Key = "F1" ._. = { staticimage = {}, label = {}, gridlist = {}, window = {}, button = {} } GiveAdmin.window[1] = guiCreateWindow(245, 137, 280, 344, "test", false) guiWindowSetSizable(GiveAdmin.window[1], false) guiSetAlpha(GiveAdmin.window[1], 1.00) guiSetProperty(GiveAdmin.window[1], "CaptionColour", "FF03D7F7") bindKey(Key,"down", function () guiSetVisible(GiveAdmin.window[1],not guiGetVisible(GiveAdmin.window[1])) showCursor(guiGetVisible(GiveAdmin.window[1])) if ( guiGetVisible(GiveAdmin.window[1]) == true ) then guiLabelSetColor(label,math.random(0, 255), math.random(0, 255), math.random(0, 255)) end end ) guiSetVisible (GiveAdmin.window[1],false) Link to comment
TAPL Posted July 28, 2014 Share Posted July 28, 2014 ^^ طيب الحين وش دخل الليبل و الهريس ذا Link to comment
SaRy,#DanGer Posted July 28, 2014 Share Posted July 28, 2014 ^^طيب الحين وش دخل الليبل و الهريس ذا يارجال عطيته مثال ._. Link to comment
Simba Posted July 28, 2014 Share Posted July 28, 2014 طيب عطه مثال على على اخفاء اللوحة مب على الليبل وتغير لون الليبل بالنسبة لصاحب الموضوع مثلا تبي اذا لمس المارركر تخفي له اللوحة بس عليك بهذا السطرين guiSetVisible ( GUIEditor.window[1] ,false) showCursor ( false) بس عليك تضيف حدث لمس الماركر او الي تبيه عشان يخفي اللوحة ! GUIEditor.window[1] == اسم اللوحة حقتك استبدلها بها Link to comment
Nasa47 Posted July 28, 2014 Share Posted July 28, 2014 function showGui () guiSetVisible (win, not guiGetVisible (win)) showCursor( not isCursorShowing()) end --Event وش ذي الخربيط ~_~ اطرح كود + وين اخلي الوندو + البوتون ؟؟ ~_~ انت طلبت كود فتح واغلاق النافذ, ماطلبت وندو وزر مافهمنا وش تبي بـ الضبط Link to comment
XI_Alooy1212_IX Posted August 2, 2014 Author Share Posted August 2, 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