multitheftauto / mtasa-resources

This project maintains a list of up-to-date resources that come with Multi Theft Auto.
https://multitheftauto.com
MIT License
151 stars 149 forks source link

Chat messages sent twice #460

Open Nico8340 opened 7 months ago

Nico8340 commented 7 months ago

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

Fernando-A-Rocha commented 2 months ago

High priority bug to be fixed on #463