Jump to content

Chat Disable?


DjSt3rios

Recommended Posts

Posted

Hello, I was wondering if it is possible to disable the chat. I Tested Server Side onPlayerChat to use cancelEvent() but no luck. On client side, when i type, San andreas crashes... maybe there is another way to do it?

Posted (edited)

Thank you very much! :)

EDIT: Actually its not working.. although i believed it would work.. maybe some help? I did it server-side...

Edited by Guest
Posted

Im sorry, but its not working... I thought it would work as i used this function before, and was working fine.... i dont know, i tried many ways to fix it but nothing.. maybe any idea?

EDIT: I made it work in Client-Side... Now i will try to fix it completely, thanks anyway :)

Posted

You used it server side, so when the resource start, all the players won't be able to use the chat box.

But when a player joins, he will be able to use the chat box.

Because we used the loop, if you want it server side, use onPlayerJoin.

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