So I was experimenting with some of the commands dealing with units, players for that matter. I turned on devmode when I was hosting a server with 4 people. I wanted to do unit_kill_silent and choose a player to kill, I used the following code.
This should have killed the second player right? The second player that was returned in the sv_players command? If not, how do I make it so I can choose which player to kill?Code:unit_kill_silent (unit (list_get (players) 2))
Bookmarks