Jump to content
  • 0

Problem Double Chat


Guest homerliew

Question

Every time I chat or write a message using the say command it pops out 2 times.

For example I typed AW!!! it will come out ---

homerliew: AW!!!

homerliew: AW!!!

instead of only ones

Link to comment

1 answer to this question

Recommended Posts

  • 0

This problem usually happens when two resources both try to handle onPlayerChat, or when one resource does and the event is not cancelled in the process.

If you've written your own resource that uses onPlayerChat and outputChatBox, put cancelEvent(true) in it. If you run two or more resources with that event handler, stop the resource or (better) remove the outputChatBox function call.

Link to comment

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...