fairyoggy Posted May 28, 2021 Share Posted May 28, 2021 Can i remove the standart text "say: You are muted" when is the player muted? Link to comment
Moderators Patrick Posted May 28, 2021 Moderators Share Posted May 28, 2021 Is it a hardcoded default MTA message? If yes, probably the only way of you cancel the onClientChatMessage event. addEventHandler("onClientChatMessage", root, function(text) if text == "say: You are muted" then cancelEvent() end end) 1 Link to comment
fairyoggy Posted May 28, 2021 Author Share Posted May 28, 2021 2 hours ago, Patrick said: Is it a hardcoded default MTA message? If yes, probably the only way of you cancel the onClientChatMessage event. addEventHandler("onClientChatMessage", root, function(text) if text == "say: You are muted" then cancelEvent() end end) That's what I need, you have solved my problem. Thank you Link to comment
Moderators Patrick Posted May 28, 2021 Moderators Share Posted May 28, 2021 2 minutes ago, oggygod said: That's what I need, you have solved my problem. Thank you 1 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