How can I change my player skin if I type /example. I don't need a menu but I just want to be able to have 1 skin for CT and 1 skin for T. I would also like to have a check so that only 1 person per team can have the skin but if the player with the skin leaves, then someone else can say the command and they will get the skin.
Example:
If I say /skin and if I am a CT then I would get a Cop Model but if I am a T then I would get a Robber Model using the same command. And there could only be 1 player with the Cop model and 1 player with the Robber model at a time.