SHARE
TWEET

old

a guest Feb 14th, 2020 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Citizen.CreateThread(function()
  2.   while true do
  3.     Citizen.Wait(0)
  4.  
  5.     local px,py,pz = tvRP.getPosition()
  6.  
  7.     for k,v in pairs(markers) do
  8.       -- check visibility
  9.       if GetDistanceBetweenCoords(v.x,v.y,v.z,px,py,pz,true) <= v.visible_distance then
  10.         DrawMarker(20,v.x,v.y,v.z,0,0,0,0,0,0,v.sx,v.sy,v.sz,v.r,v.g,v.b,v.a,0,0,0,0)
  11.       end
  12.     end
  13.   end
  14. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top