Advertisement
Masterjun

betterfont

Jul 19th, 2015
480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.89 KB | None | 0 0
  1. local function guitext(xpos,ypos,text,color) --anchor not supported
  2.   gui.text(xpos-1,ypos-1,text,0,"black")
  3.   gui.text(xpos+0,ypos-1,text,0,"black")
  4.   gui.text(xpos+1,ypos-1,text,0,"black")
  5.   gui.text(xpos+1,ypos+0,text,0,"black")
  6.   gui.text(xpos+1,ypos+1,text,0,"black")
  7.   gui.text(xpos+0,ypos+1,text,0,"black")
  8.   gui.text(xpos-1,ypos+1,text,0,"black")
  9.   gui.text(xpos-1,ypos+0,text,0,"black")
  10.   gui.text(xpos,ypos,text,0,color)
  11. end
  12.  
  13. local function guidrawText(xpos,ypos,text,color) --font not supported
  14.   gui.drawText(xpos-1,ypos-1,text,"black")
  15.   gui.drawText(xpos+0,ypos-1,text,"black")
  16.   gui.drawText(xpos+1,ypos-1,text,"black")
  17.   gui.drawText(xpos+1,ypos+0,text,"black")
  18.   gui.drawText(xpos+1,ypos+1,text,"black")
  19.   gui.drawText(xpos+0,ypos+1,text,"black")
  20.   gui.drawText(xpos-1,ypos+1,text,"black")
  21.   gui.drawText(xpos-1,ypos+0,text,"black")
  22.   gui.drawText(xpos,ypos,text,color)
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement