golanu21 Posted July 19, 2013 Posted July 19, 2013 hi guys , how i make to the overhead of a ped to appear a text ?, for the example their name ? [Dev]BloWnRPG - We BloW the World [1%]
Alen141 Posted July 19, 2013 Posted July 19, 2013 hi guys , how i make to the overhead of a ped to appear a text ?, for the example their name ? use : dxDrawText addEventHandler("OnClientRender", root, func) ---- as event handler use "OnClientRender"
Wei Posted July 19, 2013 Posted July 19, 2013 dxDrawText -- to create text getScreenFromWorldPosition -- to make a text on world position isLineOfSightClear -- check that no wall is beetween him and another player getDistanceBetweenPoints2D -- distance that you will not see text trougt whole map "onClientRender"--event Diet with russian vodka, lose 3 days in one week !
Moderators IIYAMA Posted July 19, 2013 Moderators Posted July 19, 2013 Don't forget the: https://wiki.multitheftauto.com/wiki/GetCameraMatrix Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
golanu21 Posted July 20, 2013 Author Posted July 20, 2013 thanx guys [Dev]BloWnRPG - We BloW the World [1%]
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