Bean666 Posted January 10, 2015 Posted January 10, 2015 hi , i need help in my vehicle blips help . because i have created a blip, i have set the distance . but when i go far . it's still visible in radar. how can i fix this? px,py,pz = getElementPosition( getLocalPlayer() ) vehicles = getElementsByType ( "vehicle" ) for vehicleKey, vehicleValue in ipairs(vehicles) do carx,cary,carz = getElementPosition( vehicleValue ) pcDist = getDistanceBetweenPoints2D ( px, py, carx, cary ) if pcDist <= 100.0 then blip = createBlipAttachedTo ( vehicleValue, 0, 1, 100, 100, 100, 255, 100.0 ) end end
Bean666 Posted January 10, 2015 Author Posted January 10, 2015 people said , setBlipVisibleDistance is kinda buggy. so idk let me try.
Bean666 Posted January 10, 2015 Author Posted January 10, 2015 Doesnt Work. i tried it but still i can see from far.
LaCosTa Posted January 10, 2015 Posted January 10, 2015 try this one blip = createBlipAttachedTo ( vehicleValue, 0,2, 0, 0, 0, 0, 0, 300 )
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