guiGridListGetColumnCount | Multi Theft Auto: Wiki Skip to content

guiGridListGetColumnCount

Client-side
Server-side
Shared

Manual Review Required

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


This allows you to get the count of existing columns in a gridlist.

OOP Syntax Help! I don't understand this!

  • Method: guigridlist:getColumnCount(...)
  • Variable: .columnCount

Syntax

int guiGridListGetColumnCount ( element gridList )
Required Arguments
  • gridList: The grid list you want to add a column to

Returns

  • int: value

Returns an integer with the amount of columns in the gridlist, false otherwise.

Code Examples

Script Example Missing

Function guiGridListGetColumnCount needs a script example. Help out by writing one.

Contribution guidelines

See Also

GUI Functions