restrict some console commands to some fretta classes?

^^ Just what the title says.

How do I restrict console commands from being used by certain player classes in fretta?

Check the senders class serverside in each console command.

ok… I figured that, but I can’t find how to get a player’s individual class. all i can find is team.class() or class.get().

**[Player.GetPlayerClass

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Player.GetPlayerClass)**