getChatboxCharacterLimit | Multi Theft Auto: Wiki Skip to content

getChatboxCharacterLimit

Client-side
Server-side
Shared

Pair: setChatboxCharacterLimit

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


Gets the current maximum amount of characters that can be input via chatbox

Syntax

getChatboxCharacterLimit ( )

Code Examples

client

This example shows how you can check your current chatbox character limit via command

addCommandHandler("chatlimit", function()
outputChatBox("Current chatbox character limit: " .. tostring( getChatboxCharacterLimit() ) )
end)

See Also

GUI Functions