FPtje / DarkRP

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

How to add SWAT to do /wanted or /warrent #465

Closed xEvolution closed 11 years ago

xEvolution commented 11 years ago

Hey,

I'm trying to find somewhere in my shared.lua or something where you can add my SWAT to do /wanted and /warrent.

I don't know where to look as I've looked everywhere but all I've found is: GM:AddGroupChat(function(ply) return ply:IsCP() end) But that don't help at all. Is there any file I need or something, Or do I add the jobs in ply:IsCP(JOBHERE)???

mleonhard38 commented 11 years ago
GM.CivilProtection = {
    [TEAM_POLICE] = true,
    [TEAM_CHIEF] = true,
    [TEAM_MAYOR] = true,
    [TEAM_SWAT] = true,
}

This need's to be at the bottom of your shared.lua

xEvolution commented 11 years ago

Cheers.

mleonhard38 commented 11 years ago

Then close your stupid issue -_-