Jump to content

isPlayerMuted


Recommended Posts

  • Moderators

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)

 

  • Like 1
Link to post
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 post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...