guiGridListGetSelectedItems | Multi Theft Auto: Wiki Skip to content

guiGridListGetSelectedItems

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 function returns the items selected in the specified grid list.

OOP Syntax Help! I don't understand this!

  • Method: guigridlist:getSelectedItems(...)
  • Variable: .selectedItems

Syntax

table guiGridListGetSelectedItems ( element gridList )
Required Arguments
  • gridList: The grid list which selected items you want to retrieve.

Returns

  • table: value

Returns a table over the selected items in the grid list in this format:

Code Examples

Script Example Missing

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

Contribution guidelines

See Also

GUI Functions