Get player name from command?Solved

Hello, I'm currently trying to make a custom admin duty plugin and i wanted it to remove the chat group from the person that uses /duty off

Ive removed them from the oxide group now Im just tryna remove there chat group
I'm thinking of just doing: server.Command chat user remove {user} admin . But I'm not sure how to get {user} which would just be the persons steam name when they use the command. 

Would it be player.UserIDString? But what is that for Covalence plugins?

8cK1tbTTwJ9G8SQ.png Rodney

Would it be player.UserIDString? But what is that for Covalence plugins?

player.Name and player.Id if using universal commands. I'd suggest setting up IntelliSense.

Oh ok cheers just did that ;)

Locked automatically