DListView help

Hello, I’m trying to make a little admin mod for learning purposes. I was previously using a DComboBox to select the player from a list that I would run a command on, but I thought I would change it and use DListView. The problem I have is that I have no clue how to select the player from the DListView. When I was using DComboBox I was using GetSelectedItems but I didn’t find anything like that in the wiki. Any help would be appreciated, this has been bothering me for a while now.

Looks like DListView:GetSelected()[1]. I’ll assume that’ll also return a table containing the different values.

You probably want DListView:GetSelectedLine()