Feche1320 Posted October 27, 2014 Share Posted October 27, 2014 Is there any 'official' way to cancel the outputChatBox from a resource? thanks Link to comment
MTA Team botder Posted October 27, 2014 MTA Team Share Posted October 27, 2014 https://wiki.multitheftauto.com/wiki/OnChatMessage theElement: Player element if chatbox output was done via say, teamsay or me. Resource if it was done via outputChatBox. Link to comment
Feche1320 Posted October 27, 2014 Author Share Posted October 27, 2014 https://wiki.multitheftauto.com/wiki/OnChatMessagetheElement: Player element if chatbox output was done via say, teamsay or me. Resource if it was done via outputChatBox. I'm sorry but I meant client-side outputChatBox, Link to comment
MTA Team botder Posted October 27, 2014 MTA Team Share Posted October 27, 2014 Easy way (not "official"): Make a new file and overwrite the 3 functions: outputChatBox, outputDebugString, outputConsole like this: outputChatBox = function() end and copy that file to each (map?) resource, which should stay quiet and add the script to the meta. Link to comment
Feche1320 Posted October 27, 2014 Author Share Posted October 27, 2014 Solution: I made an automatic script to change every resource meta.xml and add a clientfile with the function that Necktrox wrote, thanks! 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