Garry's Mod Wiki

Panel:GetMaximumCharCount

  number Panel:GetMaximumCharCount()

Description

Returns the current maximum character count.

This function will only work on RichText and TextEntry panels and their derivatives.

Returns

1 number maxChar
The maximum amount of characters this panel is allowed to contain.