Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[---------------------------------------------------------------------------
- DarkRP custom jobs
- ---------------------------------------------------------------------------
- This file contains your custom jobs.
- This file should also contain jobs from DarkRP that you edited.
- Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
- Once you've done that, copy and paste the job to this file and edit it.
- The default jobs can be found here:
- https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
- For examples and explanation please visit this wiki page:
- http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
- Add your custom jobs under the following line:
- ---------------------------------------------------------------------------]]
- TEAM_Staatsbeamte = DarkRP.createJob("Polizei", {
- color = Color(19, 4, 209, 255),
- model = {"models/zac/player/met_police_officer_02.mdl"},
- description = [[Die Polizei beschützt die Stadt ]],
- weapons = {"arrest_stick", "unarrest_stick", "door_ram", "weaponchecker", "stunstick", "m9k_sig_p229r", "cuff", "stungun"},
- command = "/polizei",
- max = 8,
- salary = 800,
- admin = ,
- vote = ,
- hasLicense = ,
- candemote = ,
- category = "Staatsbeamte",
- PlayerSpawn = function(ply)
- ply:SetArmor(200)
- end
- })
- })---------------------------------------------------------------------------]]
- GAMEMODE.DefaultTeam = TEAM_CITIZEN
- --[[---------------------------------------------------------------------------
- Define which teams belong to civil protection
- Civil protection can set warrants, make people wanted and do some other police related things
- ---------------------------------------------------------------------------]]
- GAMEMODE.CivilProtection = {
- [TEAM_POLICE] = true,
- [TEAM_CHIEF] = true,
- [TEAM_MAYOR] = true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement