Hello everybody this is my first thread in facepunch so please be polite. I'am harmless
I want to set the wanted on my TEAM_SWAT. Only Cop and Mayor can make a wanted
Please help me!
Thanks
Sew47
[QUOTE=Sew47;34427958]Hello everybody this is my first thread in facepunch so please be polite. I'am harmless
I want to set the wanted on my TEAM_SWAT. Only Cop and Mayor can make a wanted
Please help me!
Thanks
Sew47[/QUOTE]
Open player.lua in darkrp/gamemode/ and look for this (it's around line 68)
[code]function meta:IsCP()
local Team = self:Team()
return Team == TEAM_POLICE or Team == TEAM_CHIEF or Team == TEAM_MAYOR
end[/code]
Edit that third line to say
[code]return Team == TEAM_POLICE or Team == TEAM_CHIEF or Team == TEAM_MAYOR or Team == TEAM_SWAT[/code]
That should allow SWAT to issue warrants.
Nailed it
Sorry, you need to Log In to post a reply to this thread.