Jump to content

Recommended Posts

Posted

Add a callback for onPlayerTrySendChat in gameGUI, have admins checked as exempt from it, for everyone else return false.

 

 

Disabling chat, for whatever the reason, is a rather extreme decision and probably isn't the best idea in my opinion.

  • Like 1

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

  • 1 year later...
Posted

It seems also that onPlayerTrySendChat, even if returned false or "" as per API description, will deny the chat to appear serverside... but clients still can see everything. Check here also:

 

 

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...