Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function drawTxt(x,y ,width,height,scale, text, r,g,b,a)
- SetTextFont(0)
- SetTextProportional(0)
- SetTextScale(scale, scale)
- SetTextColour(r, g, b, a)
- SetTextDropShadow(0, 0, 0, 0,255)
- SetTextEdge(1, 0, 0, 0, 255)
- SetTextDropShadow()
- SetTextOutline()
- SetTextEntry("STRING")
- AddTextComponentString(text)
- DrawText(x - width/2, y - height/2 + 0.005)
- end
- Citizen.CreateThread(function()
- while true do
- Citizen.Wait(1)
- drawTxt(0.515, 1.25, 1.0,1.0,0.4, "~b~ | ~y~", 255, 255, 255, 255)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement