SkatCh Posted August 21, 2014 Posted August 21, 2014 guys please i have a question what does it mean chat range exatly . like this local chat_range = 100 Failure is simply an opportunity to begin again more intelligently - Henry Ford
Castillo Posted August 21, 2014 Posted August 21, 2014 It means players in that determinate range will see the message. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
SkatCh Posted August 21, 2014 Author Posted August 21, 2014 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 Failure is simply an opportunity to begin again more intelligently - Henry Ford
Castillo Posted August 21, 2014 Posted August 21, 2014 Yes, you need to increase it. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
SkatCh Posted August 21, 2014 Author Posted August 21, 2014 can you tell me exactly how much i need to add or can i put it like this . local local_chat_range = 10000000000000000000 Failure is simply an opportunity to begin again more intelligently - Henry Ford
./BlackBird# Posted August 22, 2014 Posted August 22, 2014 yes , you can put any number you want #~BlackBird~#
Mr_Moose Posted August 22, 2014 Posted August 22, 2014 6000 will be good enough, that's the size of the entire map. However why would you make a local chat that cover the entire map when you have main chat? MTA Community | GitHub | 99Stack Forum
SkatCh Posted August 22, 2014 Author Posted August 22, 2014 6000 will be good enough, that's the size of the entire map. However why would you make a local chat that cover the entire map when you have main chat? no it's not local chat it's main chat just i gave an example that's all. Failure is simply an opportunity to begin again more intelligently - Henry Ford
Anubhav Posted August 22, 2014 Posted August 22, 2014 Just use getZoneName lol.. Instead of using chat-range in this case. See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
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