FPtje / DarkRP

DarkRP, a non-serious roleplay gamemode for Garry's Mod.
https://darkrp.miraheze.org
MIT License
462 stars 708 forks source link

Warrant/Wanted system problem #596

Closed nearbyplayer closed 11 years ago

nearbyplayer commented 11 years ago

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

2013-05-23_00001

FPtje commented 11 years ago

Yeah that's wrong code.

FPtje commented 11 years ago

Well that line you gave me makes no sense. The only thing I can say is that the cop jobs can be set in shared.lua.

This isn't a valid issue report. This is your fault, not mine.