Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. function drawTxt(x,y ,width,height,scale, text, r,g,b,a)
  2. SetTextFont(0)
  3. SetTextProportional(0)
  4. SetTextScale(scale, scale)
  5. SetTextColour(r, g, b, a)
  6. SetTextDropShadow(0, 0, 0, 0,255)
  7. SetTextEdge(1, 0, 0, 0, 255)
  8. SetTextDropShadow()
  9. SetTextOutline()
  10. SetTextEntry("STRING")
  11. AddTextComponentString(text)
  12. DrawText(x - width/2, y - height/2 + 0.005)
  13. end
  14.  
  15. Citizen.CreateThread(function()
  16. while true do
  17. Citizen.Wait(1)
  18. drawTxt(0.515, 1.25, 1.0,1.0,0.4, "~b~ | ~y~", 255, 255, 255, 255)
  19.  
  20. end
  21. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement