Jump to content

Xenius

Members
  • Posts

    26
  • Joined

  • Last visited

Everything posted by Xenius

  1. addEventHandler("onClientRender", root, function() local x,y,z = getElementPosition(localPlayer) for k,v in pairs(tvBrowsers) do if not isBrowserLoading(v) then local bx,by,bz = getElementPosition(tvParents[v]) local dist = getDistanceBetweenPoints3D(x,y,z,bx,by,bz) setBrowserVolume(v, 1-dist/10) end end end)
×
×
  • Create New...