Jump to content

[Help]


Recommended Posts

Posted
  
local px, py, pz = getElementPosition(localPlayer) 
    local theRandomyMarkers = math.random(#MissionsMarkers) 
    local x, y, z = MissionsMarkers[theRandomyMarkers][1], MissionsMarkers[theRandomyMarkers][2], MissionsMarkers[theRandomyMarkers][3] 
    if (getDistanceBetweenPoints3D(x, y, z, px, py, pz < 250) then 
end 
  

not work and no debugs

Posted
if (getDistanceBetweenPoints3D(x, y, z, px, py, pz < 250) then 

Should be:

if (getDistanceBetweenPoints3D(x, y, z, px, py, pz) < 250) then 

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