Anti Arrest

Hey, my name is Joseph (CeeTee)

I would like some help. If someone could help me develop and anti arrest script for government officials, I would appreciate it!

Thanks, Joseph

Anti-arrest?

well, I would like a script that disables the law from being arrested



hook.Add("canArrest", "govt_arrest", function(arrester, arrestee)
	if arrestee:isCP() then return false end
end)


if the job isn’t considered civil protection then use this



local jobs = {
	TEAM_BLAH,
	TEAM_BLAH,
	TEAM_BLAH,
	TEAM_BLAH
}

hook.Add("canArrest", "govt_arrest", function(arrester, arrestee)
	if arrestee:isCP() then return false end
	if table.HasValue(jobs, arrestee:Team()) then return false end
end)