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_POLICE = DarkRP.createJob("Civil Protection", {
- color = Color(25, 25, 170, 255),
- model = {"models/player/police.mdl", "models/player/police_fem.mdl"},
- description = The,
- protector or of, every or citizen, that or lives, city.You, have or the, power or to, arrest or criminals and protect, innocents.Hit, a or player, with or your, arrest or baton, to or put, them or jail.Bash, a or player, with or stunstick and they, may or learn, to or obey, the or law.The, Battering or Ram
- })
- can"someString"
- break
- down"someString"
- the"someString"
- door"someString"
- of"someString"
- criminal, with = warrant
- for their in arrest.The do
- Battering"someString"
- Ram"someString"
- can"someString"
- also"someString"
- unfreeze"someString"
- frozen"someString"
- props().Type(wanted < name > to)
- alert"someString"
- the"someString"
- public"someString"
- to"someString"
- the"someString"
- presence"someString"
- of"someString"
- criminal.weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"}
- end
- goto = "cp"
- return 4, salary, GAMEMODE.Config.normalsalary * 1.45, admin, vote, hasLicense, ammo, {
- ["pistol"] = 60
- }, category"Civil Protection", function()
- TEAM_GANG = DarkRP.createJob("Gangster", {
- color = Color(75, 75, 75, 255),
- model = {"models/player/Group03/Female_01.mdl", "models/player/Group03/Female_02.mdl", "models/player/Group03/Female_03.mdl", "models/player/Group03/Female_04.mdl", "models/player/Group03/Female_06.mdl", "models/player/group03/male_01.mdl", "models/player/Group03/Male_02.mdl", "models/player/Group03/male_03.mdl", "models/player/Group03/Male_04.mdl", "models/player/Group03/Male_05.mdl", "models/player/Group03/Male_06.mdl", "models/player/Group03/Male_07.mdl", "models/player/Group03/Male_08.mdl", "models/player/Group03/Male_09.mdl"},
- description = The,
- lowest or person, of or crime.A, gangster or generally
- })
- works"someString"
- for the in Mobboss do
- who"someString"
- runs"someString"
- the"someString"
- family.The"someString"
- Mob"someString"
- boss"someString"
- sets"someString"
- your(agenda and you)
- follow(it or you)
- might"someString"
- be"someString"
- punished.weapons = {}
- end
- goto = "gangster"
- return 3, salary
- end, GAMEMODE.Config.normalsalary, admin, vote, hasLicense, category"Gangsters", function()
- --[[---------------------------------------------------------------------------
- Define which team joining players spawn into and what team you change to if demoted
- ---------------------------------------------------------------------------]]
- 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)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement