Players as Cp, Cheif, Mayor and my other custom police jobs cannot make a person wanted or issue a warrant, it does not give an error but it does say " You need to be cop/mayor to issue a warrant or wanted " I find this annoying as an server owner, my player want to make somebody wanted or issue a warrant but yet they can't. If anyone can assist me with this problem thanks! By the way I have tried to edit the main.lua to add the jobs but yet it still doesn't work.
Here is some of the code: if not ply:IsCP(t == TEAM_POLICE or t == TEAM_CHIEF or t == TEAM_SWAT or t == TEAM_SWATL or t == TEAM_DETECTIVE or t == TEAM_MAYOR) then
Players as Cp, Cheif, Mayor and my other custom police jobs cannot make a person wanted or issue a warrant, it does not give an error but it does say " You need to be cop/mayor to issue a warrant or wanted " I find this annoying as an server owner, my player want to make somebody wanted or issue a warrant but yet they can't. If anyone can assist me with this problem thanks! By the way I have tried to edit the main.lua to add the jobs but yet it still doesn't work.
Here is some of the code: if not ply:IsCP(t == TEAM_POLICE or t == TEAM_CHIEF or t == TEAM_SWAT or t == TEAM_SWATL or t == TEAM_DETECTIVE or t == TEAM_MAYOR) then
P.S: My last post was an accident