Saintgio

[Lua] [es] Fuente anaglifo

May 21st, 2017
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. function tres_d(id, text, x, y, size, white)
  2.     if id%3 ~= 0 then
  3.         return print("El id necesita ser multiplo de 3. Ej: 0, 3, 6 , 9.")
  4.     end
  5.     x = x or 49
  6.     y = y or 50
  7.     size = size or 32
  8.     white = white or false
  9.     if white then
  10.         m_color = "#d9dbdb"
  11.     else
  12.         m_color = "#221F1F"
  13.     end
  14.     ui.addTextArea(id,"<font color='#00FFFF'><font size='"..size.."px'><i><b>"..text,nil,x-1,y,nil,nil,nil,nil,0)
  15.     ui.addTextArea(id+1,"<font color='#FF0000'><font size='"..size.."px'><i><b>"..text,nil,x+5,y,nil,nil,nil,nil,0)
  16.     ui.addTextArea(id+2,"<font color='"..m_color.."'><font size='"..size.."px'><i><b>"..text,nil,x+2,y,nil,nil,nil,nil,0)
  17. end
  18.  
  19.  
  20.  
  21. tres_d(0, "MOUSE")
  22. tres_d(3, "8", 300)
Advertisement
Add Comment
Please, Sign In to add comment