Jump to content

Oque eu uso pra fazer isso ??


Recommended Posts

  • 3 weeks later...

Você pode usar em seu Client

local ped = createPed(147, 1829.142, -1435.576, 13.958)
setElementRotation(ped, -0, 0, 180)
setElementFrozen(ped, true)

addEventHandler("onClientRender", root,
function()
 if (getDistanceBetweenPoints3D( 1829.142, -1435.576, 13.958 +1.0, getElementPosition(getLocalPlayer()))) < 10 then
  local coords = {getScreenFromWorldPosition( 1829.142, -1435.576, 13.958 +1.0)}
  if coords[1] and coords[2] then
   dxDrawText("Seu texto", coords[1], coords[2], coords[1], coords[2], tocolor( 255, 255, 255, 255), 1.55, "default", "center", "center", false, false, false, true, false)
  end
 end
end)

 

Link to comment

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