Jump to content

aboout chat range


SkatCh

Recommended Posts

thx so if i want someone to see my message from LV and he is in SF i need to increase the chat range right .

like this

  
local local_chat_range = "how much i need to put here" <----example = 50000  
local sX, sY, sZ = getElementPosition(localPlayer) 
        local rX, rY, rZ = getElementPosition(source) 
        if (getDistanceBetweenPoints3D(sX, sY, sZ, rX, rY, rZ) <= local_chat_range) then 
         chat = true 
        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...