cfx-server-data
cfx-server-data copied to clipboard
Added typing checks / "Is Chatbox Open?"
Added an export for checking if the chatbox is open / being used, as well as opened and closed events. The events can be used to receive when the chatbox is opened or closed, while the export can be used for scripts that aren't waiting for the chatbox, but rather need to know at the time of it's own execution. I've tested the new code on my own server, and have not experienced any issues with it.