Monty Posted October 19, 2012 Share Posted October 19, 2012 i saw in some server there are words over some markers how do i create those sentences? Link to comment
Castillo Posted October 19, 2012 Share Posted October 19, 2012 They are drawn by: dxDrawText Link to comment
Monty Posted October 20, 2012 Author Share Posted October 20, 2012 is that correct? local screenWidth, screenHeight = guiGetScreenSize ( ) local marker = createMarker( 1552.4996337891, -1677.3264160156, 15.1953125, "Cylinder", 1.5, 0, 0, 255, 150) dxDrawText ( marker, 44, screenHeight - 41, screenWidth, screenHeight, tocolor ( 0, 0, 0, 255 ), 1.02, "pricedown" ) Link to comment
Techial Posted October 20, 2012 Share Posted October 20, 2012 By this, the text will stay there forever. You should put absolute positions, not math there. Link to comment
denny199 Posted October 20, 2012 Share Posted October 20, 2012 That code is totally wrong. Maybe is this usefull: https://community.multitheftauto.com/index.php?p=resources&s=details&id=3090 Link to comment
Guest Guest4401 Posted October 20, 2012 Share Posted October 20, 2012 getScreenFromWorldPosition Link to comment
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