guiGridListSetSelectedItem | Multi Theft Auto: Wiki Skip to content

guiGridListSetSelectedItem

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

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


This function selects an item from a gridlist. If you wish to deselect whatever item is selected, pass 0 as both the rowIndex and columnIndex arguments.

Syntax

guiGridListSetSelectedItem ( )

Code Examples

client
guiGridListSetSelectedItem ( spawnScreenGridList, 0, 0) -- resets selection to zero

See Also

GUI Functions