#StrOnG_,) Posted May 14, 2015 Share Posted May 14, 2015 السسلام عليكم ورحمه الله وبركاته كيفكم شباب ؟ أن شاء الله بخير .. أبي كود تلوين الليبل كل 20 ثانيةة وشكراً Link to comment
</Mr.Tn6eL> Posted May 14, 2015 Share Posted May 14, 2015 setTimer guiLabelSetColor math.random Link to comment
Mr.R Posted May 14, 2015 Share Posted May 14, 2015 (edited) addEventHandler ( "onClientResourceStart", root, function ( ) if ( isTimer ( timerColor ) ) then killTimer ( timerColor ) end timerColor = setTimer ( function ( ) guiLabelSetColor ( اسم الليبل, math.random ( 255 ), math.random ( 255 ), math.random ( 255 ) ) end, 300, 0 ) end ) تقدر تغير الوقت زي ماتبغا من هنا end, 300, 0 ) سطر 5 Edited May 15, 2015 by Guest Link to comment
N3xT Posted May 14, 2015 Share Posted May 14, 2015 addEventHandler ( "onClientResourceStart", root, function ( ) if ( isTimer ( timerColor ) ) then killTimer ( timerColor ) end timerColor = setTimer ( function ( ) guiLabelSetColor ( اسم الليبل, math.random ( 255 ), math.random ( 255 ), math.random ( 255 ) ) end, 300, 0 ) end ) الجاهز م يعلم أحد : ) Link to comment
terreus Posted May 14, 2015 Share Posted May 14, 2015 Lebel_a = guiCreateLabel(10, 42, 412, 64, " Text ", false, Wnd) guiSetFont(Lebel_a, "default-bold-small") guiLabelSetColor(Lebel_a,math.random(0, 255), math.random(0, 255), math.random(0, 255)) جرب كذا يمكن افضل او استعمل كود اخ mr.r addEventHandler ( "onClientResourceStart", root, function ( ) if ( isTimer ( timerColor ) ) then killTimer ( timerColor ) end timerColor = setTimer ( function ( ) guiLabelSetColor ( اسم الليبل, math.random ( 255 ), math.random ( 255 ), math.random ( 255 ) ) end, 300, 0 ) end ) Link to comment
Mr.R Posted May 15, 2015 Share Posted May 15, 2015 addEventHandler ( "onClientResourceStart", root, function ( ) if ( isTimer ( timerColor ) ) then killTimer ( timerColor ) end timerColor = setTimer ( function ( ) guiLabelSetColor ( اسم الليبل, math.random ( 255 ), math.random ( 255 ), math.random ( 255 ) ) end, 300, 0 ) end ) الجاهز م يعلم أحد : ) صدقت بس الكود بالنسبه له صعب خله يستفيد منه وكيف صار هذا وهذا ^^ Link to comment
#StrOnG_,) Posted May 17, 2015 Author Share Posted May 17, 2015 شكراً لكم ~ :] تمت الأفادة Link to comment
terreus Posted May 17, 2015 Share Posted May 17, 2015 شكراً لكم ~ :] تمت الأفادة Your Welcomm العفو .... 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