mpTextChatDisable
MP_TEXT_CHAT_DISABLE0x1DB21A44B09E8BA3The GTA V native MP_TEXT_CHAT_DISABLE of the HUD namespace, as LS:MP client scripts call it: the global function mpTextChatDisable, in JavaScript and in Lua.
mpTextChatDisable(toggle: boolean): voidmpTextChatDisable(toggle: boolean)Usage
JavaScript
mpTextChatDisable(toggle);Lua
mpTextChatDisable(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Hides the chat history, closes the input box and makes it unable to be opened unless called again with FALSE.
Reference
- Namespace
- HUD HUD
- In the game
void MP_TEXT_CHAT_DISABLE(BOOL toggle)- Hash
0x1DB21A44B09E8BA3- Formerly
_SET_TEXT_CHAT_UNK_MULTIPLAYER_CHAT_SET_DISABLED