How to find teams (like gun dealer in darkrp)


I am trying to find out how to detect gm player classes, Im doing this for scprp and would check files on it if there weren’t 30 gms titled scprp.

Ive already checked over the wiki multiple times and can’t find the command, if only you could search for commands in away that includes synonyms

Any help would be great! Thank you.

You could write something using :Team()