S4MuEL Posted April 15, 2013 Posted April 15, 2013 GUIEditor = { label = {}, } GUIEditor.label[1] = guiCreateLabel(190, 499, 481, 61, "TeSt 1", false) GUIEditor.label[2] = guiCreateLabel(190, 499, 481, 61, "TeSt 2", false) guiSetVisible(GUIEditor.label[1], false) guiSetVisible(GUIEditor.label[2], false) show1 = function() guiSetVisible(GUIEditor.label[1], true) setTimer( function() guiSetVisible(GUIEditor.label[1], false) end,1000,1) end show2 = function() guiSetVisible(GUIEditor.label[2], true) setTimer( function() guiSetVisible(GUIEditor.label[2], false) end,2000,1) end onRender = function() if (guiGetVisible(GUIEditor.label[1]) == false) then show2() elseif (guiGetVisible(GUIEditor.label[2]) == false) then show1() end end addEventHandler ( "onClientRender", root, onRender ) وين الخطأ هنآ ؟
jafar Posted April 15, 2013 Posted April 15, 2013 GUIEditor = { label = {}, } GUIEditor.label[1] = guiCreateLabel(190, 499, 481, 61, "TeSt 1", false) GUIEditor.label[2] = guiCreateLabel(190, 499, 481, 61, "TeSt 2", false) guiSetVisible(GUIEditor.label[1], false) guiSetVisible(GUIEditor.label[2], false) show1 = function() guiSetVisible(GUIEditor.label[1], true) setTimer( function() guiSetVisible(GUIEditor.label[1], false) end,1000,1) end show2 = function() guiSetVisible(GUIEditor.label[2], true) setTimer( function() guiSetVisible(GUIEditor.label[2], false) end,2000,1) end onRender = function() if (guiGetVisible(GUIEditor.label[1]) == true) then show2() elseif (guiGetVisible(GUIEditor.label[2]) == false) then show1() end end addEventHandler ( "onClientRender", root, onRender )
iMr.Dawix~# Posted April 15, 2013 Posted April 15, 2013 GUIEditor = { label = {} } GUIEditor.label[1] = guiCreateLabel(190, 499, 481, 61, "TeSt 1", false) GUIEditor.label[2] = guiCreateLabel(190, 499, 481, 61, "TeSt 2", false) guiSetVisible(GUIEditor.label[1], false) guiSetVisible(GUIEditor.label[2], false) show1 = function() guiSetVisible(GUIEditor.label[1], true) setTimer( function() guiSetVisible(GUIEditor.label[1], false) end,1000,1) end show2 = function() guiSetVisible(GUIEditor.label[2], true) setTimer( function() guiSetVisible(GUIEditor.label[2], false) end,2000,1) end onRender = function() if (guiGetVisible(GUIEditor.label[1]) == false) then show2() elseif (guiGetVisible(GUIEditor.label[2]) == false) then show1() end end addEventHandler ( "onClientRender", root, onRender )
S4MuEL Posted April 15, 2013 Author Posted April 15, 2013 @ضضآوي كودك م اشتغل = ( ، جعفر كودك ششغآل بس المشكلةة وحدةة تتحرك و وحدةة وآققفةة ما تتحرك
فاّرس Posted April 16, 2013 Posted April 16, 2013 استخدم, math.random guiSetText setTimer حآول تسويهه, لان عنآد حط قآنون مآ نعطي آحد اكواد جاهزه لين يحاول
Tete omar Posted April 16, 2013 Posted April 16, 2013 استخدم, math.random guiSetText setTimer حآول تسويهه, لان عنآد حط قآنون مآ نعطي آحد اكواد جاهزه لين يحاول اصلاً هو ما قال وش يبي بالظبت, كاتب باسم لموضوع "Label" وكاتب بالموضوع "وش الخطاء هنا" وش فهمت منه؟ .. رايباك, ياليت توضحلنا وش تبي
S4MuEL Posted April 16, 2013 Author Posted April 16, 2013 تيتي # بغيت مثلآ , تطلع تست 1 وتختففي لمدةة وتجي تست 2 وبعدهآ تختفي تست 2 وتجي تست 1 وتسسذآ وشش إسستخدمم ؟
فاّرس Posted April 16, 2013 Posted April 16, 2013 استخدم, math.random guiSetText setTimer حآول تسويهه, لان عنآد حط قآنون مآ نعطي آحد اكواد جاهزه لين يحاول اصلاً هو ما قال وش يبي بالظبت, كاتب باسم لموضوع "Label" وكاتب بالموضوع "وش الخطاء هنا" وش فهمت منه؟ .. رايباك, ياليت توضحلنا وش تبي @ضضآوي كودك م اشتغل = ( ،جعفر كودك ششغآل بس المشكلةة وحدةة تتحرك و وحدةة وآققفةة ما تتحرك @رآي بآك سو الي قلت لك فوق,, طبعآ الي عطيتك راح تصير كذآ TeSt 2 وعلطول يتحول لـ TeSt 1 يعني ينزل تنآزليآ ويمديك تخليها العكس
iMr.Dawix~# Posted April 16, 2013 Posted April 16, 2013 @رآي بآك سو الي قلت لك فوق,, طبعآ الي عطيتك راح تصير كذآ TeSt 2 وعلطول يتحول لـ TeSt 1 يعني ينزل تنآزليآ ويمديك تخليها العكس !! ينزل تنآزلياً
فاّرس Posted April 16, 2013 Posted April 16, 2013 @رآي بآك سو الي قلت لك فوق,, طبعآ الي عطيتك راح تصير كذآ TeSt 2 وعلطول يتحول لـ TeSt 1 يعني ينزل تنآزليآ ويمديك تخليها العكس !! ينزل تنآزلياً تنآزليآ مو معنآه من الرقم الكبير الى الصغير ولا انا غلطآن ؟
3NAD Posted April 16, 2013 Posted April 16, 2013 لم يتم التجربة .. GUIEditor = { label = {}, } GUIEditor.label[1] = guiCreateLabel(190, 499, 481, 61, "TeSt 1", false) GUIEditor.label[2] = guiCreateLabel(190, 499, 481, 61, "TeSt 2", false) guiSetVisible(GUIEditor.label[1], false) guiSetVisible(GUIEditor.label[2], false) show1 = function() if guiGetVisible ( GUIEditor.label[2] ) then guiSetVisible ( GUIEditor.label[2], false ) end guiSetVisible ( GUIEditor.label[1], true ) end show2 = function () if guiGetVisible ( GUIEditor.label[1] ) then guiSetVisible ( GUIEditor.label[1], false ) end guiSetVisible ( GUIEditor.label[2], true ) setTimer ( show1, 15000, 1 ) end setTimer ( show2, 30000, 0 )
فاّرس Posted April 16, 2013 Posted April 16, 2013 ^ عناد يقدر يختصرهآ كذآ GUIEditor = { label = {}, } GUIEditor.label[1] = guiCreateLabel(190, 499, 481, 61, "TeSt 1", false) GUIEditor.label[2] = guiCreateLabel(190, 499, 481, 61, "TeSt 2", false) guiSetVisible(GUIEditor.label[1], false) timer = 0 setTimer( function( ) timer = ( timer + 1 ) guiSetText( GUIEditor.label[2], 'TeSt '.. math.random( '1', timer ) ) if ( timer == 1 ) then end end, 700, 1 )
iPrestege Posted April 16, 2013 Posted April 16, 2013 ^ عناد يقدر يختصرهآ كذآ GUIEditor = { label = {}, } GUIEditor.label[1] = guiCreateLabel(190, 499, 481, 61, "TeSt 1", false) GUIEditor.label[2] = guiCreateLabel(190, 499, 481, 61, "TeSt 2", false) guiSetVisible(GUIEditor.label[1], false) timer = 0 setTimer( function( ) timer = ( timer + 1 ) guiSetText( GUIEditor.label[2], 'TeSt '.. math.random( '1', timer ) ) if ( timer == 1 ) then end end, 700, 1 ) كودكـ بـيثبت على الـ التكست
3NAD Posted April 16, 2013 Posted April 16, 2013 تيتي #بغيت مثلآ , تطلع تست 1 وتختففي لمدةة وتجي تست 2 وبعدهآ تختفي تست 2 وتجي تست 1 وتسسذآ وشش إسستخدمم ؟ ^ عناد يقدر يختصرهآ كذآ GUIEditor = { label = {}, } GUIEditor.label[1] = guiCreateLabel(190, 499, 481, 61, "TeSt 1", false) GUIEditor.label[2] = guiCreateLabel(190, 499, 481, 61, "TeSt 2", false) guiSetVisible(GUIEditor.label[1], false) timer = 0 setTimer( function( ) timer = ( timer + 1 ) guiSetText( GUIEditor.label[2], 'TeSt '.. math.random( '1', timer ) ) if ( timer == 1 ) then end end, 700, 1 ) ماشوفه قال يبي شيء اسمه guiSetText كل الموضوع إظهار وإخفاء ..
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