GetChatboxCharacterLimit

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

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

Syntax

int getChatboxCharacterLimit()

OOP Syntax Help! I don't understand this!

Method: GuiElement.getChatboxCharacterLimit(...)
Variable: .chatboxCharacterLimit
Counterpart: setChatboxCharacterLimit


Returns

Returns a number between 0-255, representing the chatbox input character limit

Example

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

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows

Input

GUI