Advertisement
Eliaseeg

Text area con colores *-*

Jan 26th, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. function textAreaColor()
  2.     return "0x" .. string.format("%X", math.random(0x000000, 0xFFFFFF))
  3. end
  4.  
  5. timer = 0;
  6.  
  7. function eventLoop()
  8.  
  9.   timer = timer + 1 / 2;
  10.  
  11.     if (timer == 0.5) then
  12.  
  13.             ui.addTextArea(1,"<font color='#ffffff' size='22'>ola juapos</font> <br><font color='#000000' size='22'>ola juapos</font>", NIL,"340","100","200","200", textAreaColor(), textAreaColor())
  14.          timer = 0;
  15.         end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement