mtasa-resources icon indicating copy to clipboard operation
mtasa-resources copied to clipboard

Fix chat messages sent twice

Open Fernando-A-Rocha opened this issue 1 year ago • 3 comments

Fixes #460

playercolors will no longer handle chat, as this is handled in the gamemode resource itself (freeroam), playercolors is just an extra resource.

@Dark-Dragon @Nico8340

Fernando-A-Rocha avatar Oct 19 '24 08:10 Fernando-A-Rocha

Other game modes that handle onPlayerChat and change its output to chatbox are:

  • TDM
  • CTV
  • Assault

Then, admin and webstats also handle onPlayerChat but don't alter its output.

Fernando-A-Rocha avatar Oct 19 '24 08:10 Fernando-A-Rocha

Appropriate fix for while we wait for the large scale changes discussed in #463

Dark-Dragon avatar Oct 19 '24 09:10 Dark-Dragon

Exactly, this can be merged now.

Fernando-A-Rocha avatar Oct 19 '24 11:10 Fernando-A-Rocha

There you have it @jlillis

Fernando-A-Rocha avatar Nov 13 '24 21:11 Fernando-A-Rocha