Scripting/Client/GUI/list.Clear

Removes every row and the selection.

Syntax

list.Clear()

Example

function onScriptLoad()
{
	// list is a list handle (see List boxes and dropdown boxes)
	list.Clear();
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: List boxes and dropdown boxes

Categories: Client functions | List boxes and dropdown boxes