xpgamer15 Posted April 22, 2019 Share Posted April 22, 2019 Hi,i need Chat for my role play server.How can i create chat not show for all players and show for in Around Players? Link to comment
Alfredo Posted April 22, 2019 Share Posted April 22, 2019 Hi, first sorry for my english. jaja Ok you need to use https://wiki.multitheftauto.com/wiki/CreateColCircle attached to the player (https://wiki.multitheftauto.com/wiki/AttachElements) When other players enter the col you have to set a data and then use it in outputChatBox https://wiki.multitheftauto.com/wiki/OnColShapeHit https://wiki.multitheftauto.com/wiki/SetElementData https://wiki.multitheftauto.com/wiki/OutputChatBox Dont forget remove the data when the player leave the col! (Optional) Also you can view the col using devmode. First you have to enable it. https://wiki.multitheftauto.com/wiki/SetDevelopmentMode then open your MTA consola pressing F8 and write... "devmode" and "showcol" Done! Link to comment
xpgamer15 Posted April 23, 2019 Author Share Posted April 23, 2019 I want when player chat showing for only in players circle not show for all players , this wiki's can do it? sorry for my bad english Link to comment
Dimos7 Posted April 23, 2019 Share Posted April 23, 2019 getElementsByType getElementPosition getDistanceBetweenPoints3D outputChatBox Link to comment
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