Skip to content

Chat messages sent twice #460

Closed
Closed
@Nico8340

Description

@Nico8340

Which resource(s) have this problem?
Playercolors

Describe the bug
Playercolors also has an event handler that listens to onPlayerChat, so every chat message is sent twice.

To Reproduce
Steps to reproduce the behaviour:

  1. Start playercolors and freeroam (Since 1.6, both start by default)
  2. Send a message in the chat
  3. See the message appear twice

Expected behavior
The message is sent only once.

Screenshots
image

Version
Client ver: Multi Theft Auto v1.6-release-22364
Client OS: Windows 11

Server ver: MTA:SA Server v1.6-release-22361 (Latest nightly)
Server OS: Windows 11

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions