Jump to content

Recommended Posts

Posted (edited)

As the title states.

I've read the GTAN wiki and theres an attribute for the .ChatMessage event ([DisableDefaultChat]) but it also says its not implemented yet, waiting to be released on 0.4.

So, as of right now. Is there a way to prevent the default chat messages from behaving the way they do? (The message will be sent to everyone wether you want to or not).

 

Cheers

Edited by Soul
typos
  • 3 years later...
Posted
On 2/21/2023 at 7:39 PM, ruxxay said:

How to do that in JS?

You don't need it for Node.JS gamemodes. Chat messages are not broadcasted to all players by default, you need to do that yourself using the playerChat event.

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