Custom Jobs Making People Wanted.

On my Darkrp server I have custom cop jobs such as undercover cop and SWAT. I was wondering if there is a way for me to make it so they can use the commands /wanted and /warrant on people.


In gamemode/server/player.lua go to line 57

[lua]function meta:IsCP()
if not IsValid(self) then return false end
local Team = self:Team()
return Team == TEAM_POLICE or Team == TEAM_CHIEF or Team == TEAM_MAYOR or Team == TEAM_SWAT — Add teams here like so

Works perfectly!
Thank you very much!