El_Matador Posted June 22, 2012 Posted June 22, 2012 Hello, is in MTA anywhere scriipt voice for MTA but in the 3D , the player is speaking and other players listen this when they are close, is possible?
Moderators IIYAMA Posted June 22, 2012 Moderators Posted June 22, 2012 You may can set these players to eagle team, when they are close to each other. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
El_Matador Posted June 22, 2012 Author Posted June 22, 2012 I have server Role Play and i need this .
Anderl Posted June 22, 2012 Posted June 22, 2012 Create colshape for each player and play the voice chat only for players inside the colshape. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
BinSlayer1 Posted June 22, 2012 Posted June 22, 2012 You should have. It's an official MTA resource. http://code.google.com/p/mtasa-resource ... p&can=2&q= It's called "voice". Also, don't use colshapes or whatever has been suggested to you. Use something much easier. Distance. https://wiki.multitheftauto.com/wiki/Get ... enPoints3D Make sure distance between local player and source of voice is less than X. If it's not, cancelEvent()
Moderators IIYAMA Posted June 25, 2012 Moderators Posted June 25, 2012 Here you can find the right things to build it. https://wiki.multitheftauto.com/wiki/Resource:Voice Mind this one, for set your targets: https://wiki.multitheftauto.com/wiki/Set ... roadcastTo also https://wiki.multitheftauto.com/wiki/Set ... IgnoreFrom Use this one to check as second one: https://wiki.multitheftauto.com/wiki/OnPlayerVoiceStart also https://wiki.multitheftauto.com/wiki/OnPlayerVoiceStop First one is colshape in and out. This should be enough to make it, on wiki mta you can find everything ^^. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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