Reaper Posted January 11, 2018 Posted January 11, 2018 Help, I need to find 3D text resources for job markers for free-roam server.. Ex: 3D Text Picturehttps://i.imgur.com/V9Lewx4.pnghttps://i.imgur.com/13m50lg.png
ShayF2 Posted January 11, 2018 Posted January 11, 2018 This code may help, you will have to modify it to fit your script, however this is a basic layout of how you want it. local x,y,z = getElementPosition(marker) local sx,sy = getScreenFromWorldPosition(x-2,y,z+1) local sw,sh = getScreenFromWorldPosition(x+2,3,z+1)-- 3 will be your text height. addEventHandler('onClientRender',root,function() dxDrawText('Marker Text',sx,sy,sw,sh) end) Hopefully this has helped you, have a nice day. 1
Reaper Posted January 17, 2018 Author Posted January 17, 2018 Yea bro.. it's working Thank you very much
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now