Jump to content

طلب كود تلوين الليبل كل 20 ثانية


Recommended Posts

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 by Guest
Link to comment
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
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
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...