Ulabael

scrOutlinedText

Jun 12th, 2022 (edited)
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. function scrOutlinedText(xPos, yPos, col, outlinedCol, text, curdepth, font, halign, valign)
  2. {
  3. depth = -1000
  4. draw_set_font(font)
  5. draw_set_halign(halign)
  6. draw_set_valign(valign)
  7. draw_set_color(outlinedCol)
  8. draw_text(xPos+1,yPos,text)
  9. draw_text(xPos-1,yPos,text)
  10. draw_text(xPos,yPos+1,text)
  11. draw_text(xPos,yPos-1,text)
  12. draw_set_color(col)
  13. draw_text(xPos,yPos,text)
  14. depth = curdepth
  15. }
  16.  
Add Comment
Please, Sign In to add comment