![]() |
disable player chat
There has got to be another way besides enablefeatures() to disable player chat. obviously from my most recent thread, it is messing up many, many things on our server. Is there another way to approach this? Anything at all?
p.s. player.chat == "" doesn't suffice in a timeout. Its not effecient enough and you can almost always still see the regular chat. |
Quote:
PHP Code:
|
Just noticed using onPlayerChats() and a timeout to set player.chat == "" works unless you have the tab chat bar open, then it stays, so somehow I need a way to make that stop too, w/o enablefeatures().
That stops our chat system from working. xD Any other ways? |
PHP Code:
|
that works for everyones chat but their own. if that makes sense.
|
Quote:
|
It looks really sloppy and annoying to me at least, and i imagine other players as well. We're using bubbles, so its all in the way.
|
Quote:
PHP Code:
|
Can't you just hide chat with enablefeatures?
|
Quote:
|
PHP Code:
|
Maybe you should look into why enablefeatures is screwing things up.
Most likely cause, multiple scripts calling enablefeatures. Use a weapon script as your central enabler/disabler. Here's mine: http://forums.graalonline.com/forums...ad.php?t=87692 but modify it to meet your needs of course. |
enablefeatuers is hiding the npc chat, which from what I understand from above posts, is normal. I need that to not happen.
|
The solution hides everything from the chat tab bar, and that doesn't solve my problem, because it hides everything, so you can't see any chat.
|
Quote:
|
PHP Code:
|
Thanks, I just didnt know what else to do, and didnt know where to look on wiki. appreciate it everyone. alot. :)
|
On a similiar note, trying to disable s+a, and oddly, enablefeatures isnt working for it. I dont know whats up with enablefeatures causing so many issues...
Regardless, i was trying to get this to work, and will post this code, that I know will not work. PHP Code:
p.s, tried to get the keycode for s+a, apparently you cant, at least from using PHP Code:
|
| All times are GMT +2. The time now is 09:37 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.