Scripting/Client/GUI/list.RemoveItem
Removes a row. Removing the selected row clears the selection.
Syntax
list.RemoveItem(index)Arguments
- int index
Returns
bool
Example
function onScriptLoad()
{
// list is a list handle (see List boxes and dropdown boxes)
local result = list.RemoveItem( 0 );
MessagePlayer( "list.RemoveItem returned: " + result, player );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
Section: List boxes and dropdown boxes
Categories: Client functions | List boxes and dropdown boxes