Jump to content

how i make that ?


golanu21

Recommended Posts

Posted
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" 

Posted
  
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
Posted

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...