Backend Development

code for a police cheif addon for gmod

Submitted by neilshearman, , Thread ID: 264082

neilshearman
Lurker
Level:
1
Reputation:
0
Posts:
6
Likes:
0
Credits:
2
25-04-2023, 05:26 PM
#1
TEAM_POLICELEADER = DarkRP.createJob("SWAT LEADER ", {
color = Color(25, 25, 170, 255),
model = {"models/player/swat.mdl"},
description = [[The protector of every citizen that lives in the city.
You have the power to arrest criminals and protect innocents.
Hit a player with your arrest baton to put them in jail.
Bash a player with a stunstick and they may learn to obey the law.
The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
The Battering Ram can also unfreeze frozen props (if enabled).
Type /wanted <name> to alert the public to the presence of a criminal.]],
weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker","m9k_HoneyBadger"},
command = "SWAT_LEADER",
max = 1,
salary = 45,
admin = 0,
vote = true,
hasLicense = true,
ammo = {
["pistol"] = 60,
},
category = "Civil Protection",
})

Users browsing this thread: 1 Guest(s)