setChatboxCharacterLimit | Multi Theft Auto: Wiki Skip to content

setChatboxCharacterLimit

Client-side
Server-side
Shared

Pair: getChatboxCharacterLimit

This page is incomplete! Help wanted!

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


Sets the maximum amount of characters that can be input via chatbox

Syntax

setChatboxCharacterLimit ( )

Code Examples

client

This example shows how you can set the character limit to maximum when a player joins the server (assuming this resource is running when they join).

addEventHandler("onClientResourceStart", resourceRoot, function()
setChatboxCharacterLimit(255)
end)

See Also

GUI Functions