LEO Commands

So basically I’m trying to make it so only police can use a /sv command for spawning a vehicle, I have the code but not sure what to do to make it permission based, I’ve read a few things and all are different so not sure what to do.

Here is the code https://hastebin.com/edosasodun.rb

Any help would be appreciated :slight_smile: