19.09.2011, 03:12
You cannot detect when those buttons are pressed if that's what you're asking, nor can you detect when the text input box for the chat is opened. You can only detect when the player sends a message using OnPlayerText.
You can read more about OnPlayerText here:
https://sampwiki.blast.hk/wiki/OnPlayerText
You can read more about OnPlayerText here:
https://sampwiki.blast.hk/wiki/OnPlayerText