• Need help with DarkRP.
    1 replies, posted
--[[--------------------------------------------------------------------------- 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: [url]https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua[/url] For examples and explanation please visit this wiki page: [url]http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields[/url] Add jobs under the following line: ---------------------------------------------------------------------------]] }) TEAM_NINJA = AddExtraTeam("Ninja", { color = Color(255, 93, 0, 255), model = "models/player/charple.mdl", description = [[As a ninja you can jump from building to building with you grapling hook. But be careful because grapling hook is not leagel. SALARY:90]], weapons = {"hl2_combo_fists", "weapon_hookah", "weapon_mad_knife"}, command = "ninja", max = 2, salary = 65, admin = 0, vote = false, hasLicense = false }) TEAM_NGLT = AddExtraTeam("National Guard Lieutenant Colonel", { color = Color(10, 10, 150, 255), model = "models/player/gasmask.mdl", description = [[ [Supporter Job] As the Lieutenant Colonel in the National Guard its your job to be in charge of all Law Enforcement when its allot of terrorists or attacks in the city. SALARY:230]], weapons = {"weaponchecker", "weapon_mad_m4", "hl2_combo_fists", "weapon_mad_p228", "weapon_shield"}, command = "nglt", max = 5, salary = 230, admin = 0, vote = false, hasLicense = true, customCheck = function(ply) return ply:IsUserGroup("d_headadmin") or ply:IsUserGroup("developer") end }) TEAM_NG = AddExtraTeam("National Guard", { color = Color(10, 10, 100, 255), model = "models/player/gasmask.mdl", description = [[ [Gold Donator Job] As a member of the National Guard your job is to protect the citizen from terrorist... If its allot of Terrorists in the city the Lieutenant Colonel of the National Guard is in charge over all Law Enforcement in the city. SALARY:150]], weapons = {"weaponchecker", "weapon_mad_m4", "hl2_combo_fists", "weapon_mad_p228", "weapon_shield"}, command = "ng", max = 5, salary = 150, admin = 0, vote = false, hasLicense = true }) TEAM_BANK = AddExtraTeam("Downtown Bank Owner", { color = Color(65, 90, 255, 255), model = "models/player/Hostage/hostage_04.mdl", description = [[ [Gold Donator] As a Bank Owner you can store printers, guns etc..... SALARY:120]], weapons = {"hl2_combo_fists", "weapon_pepperspray"}, command = "bank", max = 2, salary = 120, admin = 0, vote = false, hasLicense = false }) TEAM_FBI = AddExtraTeam("F.B.I", { color = Color(50, 90, 255, 255), model = "models/player/riot.mdl", description = [[ [Gold Donator] As a F.B.I Special Agent its your job to find Terrorists and kill or arrest them..... SALARY:120]], weapons = {"hl2_combo_fists", "weapon_mad_m4", "weapon_mad_p228", "weapon_shield"}, command = "fbi", max = 2, salary = 120, admin = 0, vote = false, hasLicense = false }) TEAM_SWATCO = AddExtraTeam("S.W.A.T Commander", { color = Color(10, 10, 100, 255), model = "models/player/urban.mdl", description = [[ [Donator Job] As a S.W.A.T Commander it is your job to infiltrate drug labs and and asisest police officers on high level raids. You are still under the athorty of the police cheif. SALARY:130]], weapons = {"arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "weapon_mad_m4", "hl2_combo_fists", "weapon_mad_deagle", "weapon_shield", "weapon_polearm"}, command = "swatco", max = 1, salary = 130, admin = 0, vote = false, hasLicense = true, NeedToChangeFrom = TEAM_SWAT }) TEAM_HOTEL = AddExtraTeam("Hotel manager", { color = Color(10, 255, 200, 255), model = "models/player/Group01/male_08.mdl", description = [[ SALARY:55]], weapons = {"hl2_combo_fists", "weapon_pepperspray"}, command = "hotel", max = 1, salary = 55, admin = 0, vote = false, hasLicense = false }) TEAM_PROTHIEF = AddExtraTeam("Pro Thief", { color = Color(111, 199, 175, 255), model = "models/player/arctic.mdl", description = [[Your are a pro thief, Brake into peoples homes and places of business to piss them off! Take what you can and run! You may not shoot people in there own only in robbery. homes or places of business. only in robbery. to shoot you!. SALARY:60]], weapons = {"fastkeypad_cracker", "fastlockpick", "hl2_combo_fists", "rp_pickpocket"}, command = "prothief", max = 3, salary = 60, admin = 0, vote = false, hasLicense = false }) TEAM_BOUNTY = AddExtraTeam("Bounty Hunter", { color = Color(125, 125, 256, 252), model = "models/player/Group01/Female_02.mdl", description = [[As a bounty hunter its your job to find wanted players and take them down to the station. SALARYL:50]], weapons = {"hl2_combo_fists", "weapon_ak472"}, command = "bounty", max = 1, salary = 50, admin = 0, vote = true, hasLicense = true }) TEAM_CHIEF = AddExtraTeam("Police Sergeant", { color = Color(20, 20, 255, 255), model = "models/player/combine_soldier_prisonguard.mdl", description = [[The Chief is the leader of the Police Officer's unit. Coordinate the police forces to bring law to the city Hit them with arrest baton to put them in jail Bash them with a stunstick and they might learn better than to disobey the law. The Battering Ram can break down the door of a criminal with a warrant for his/her arrest. Type /wanted <name> to alert the public to this criminal Type /jailpos to set the Jail Position SALARY:60]], weapons = {"arrest_stick", "unarrest_stick", "weapon_mad_p228", "stunstick", "door_ram", "weaponchecker", "weapon_shield"}, command = "chief", max = 1, salary = 60, admin = 0, vote = false, hasLicense = true, NeedToChangeFrom = TEAM_POLICE }) TEAM_ADMIN = DarkRP.createJob("Admin On Duty", { color = Color(170, 0, 0, 255), model = "models/player/zeus_combine_v2/zeus_combine_v2.mdl", description = [[Admin on duty is when you as an admin, is ready to make sure the server stays at its best. It's up to you to patrol and respond to admin calls.]], weapons = {, "weapon_pepperspray"}, command = "aod", max = 1, salary = 100, admin = 1, vote = false, hasLicense = false, customCheck = function(ply) return ply:GetUserGroup() == "Admin" end, }) TEAM_SS = DarkRP.createJob("Secret Service", { color = Color(100, 20, 20, 255), model = "models/player/macdguy.mdl", description = [[You are responsible for protecting the mayor. Take care of the old fellow, he is vanuarable to terrorists all the time! Before he enters a room, you need to make sure its secure.]], weapons = {"weapon_deagle2", "stunstick", "weaponchecker"}, command = "ss", max = 2, salary = 65, admin = 0, vote = true, hasLicense = false, ammo = { ["pistol"] = 60, }, category = "Civil Protection", }) TEAM_HITMAN = DarkRP.createJob("Hitman", { color = Color(0, 0, 0, 255), model = "models/player/sunabouzu.mdl", description = [[People hire you to take out other people, this job require you to be completely focussed. A single breath can make you loose a shot.]], weapons = {"m9k_m24"}, command = "hitman", max = 1, salary = 65, admin = 0, vote = false, hasLicense = false, category = "Citizens", }) TEAM_DRUGGY = DarkRP.createJob("Drug Dealer", { color = Color(51, 204, 255, 255), model = "models/player/Kleiner.mdl", description = [[You deal drugs to
What are you asking exactly? Also use [url]http://pastebin.com[/url] or [CODE] tags next time.
Sorry, you need to Log In to post a reply to this thread.