Garry's Mod
DarkRP i cannot drop my guns for some reason?
Submitted by COMMUNITYGAMERS, 02-06-2018, 06:16 PM, Thread ID: 90602
Thread Closed
RE: DarkRP i cannot drop my guns for some reason?
03-06-2018, 07:54 AMRosvorer Wrote: Are you playing for some kind of work at this moment?
If so, it is possible in the jobs.lua file there is a function due to which you can not throw out the weapon
Nope there is nothing there :/
These are all the jobs i have at the moment..
TEAM_STAFF = DarkRP.createJob("Staff on Duty", {
color = Color(255, 0, 0, 255),
model = {"models/player/anon/anon.mdl"},
description = [[As staff it is your duty to keep the server problem free!]],
weapons = {"weapon_keypadchecker", "unarrest_stick", "weaponchecker", "door_ram", "weapon_medkit"},
command = "/staff",
max = 10,
salary = 5000,
admin = 1,
vote = false,
hasLicense = false,
candemote = false,
category = "Staff"
})
TEAM_THIEF = DarkRP.createJob("Thief", {
color = Color(82, 82, 82, 255),
model = {"models/player/arctic.mdl"},
description = [[As thief it is your role to rob people and break into their homes.
- Can raid
- Can mug
- Can steal
- Can base]],
weapons = {"lockpick", "m9k_knife"},
command = "/thief",
max = 10,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
category = "Criminals"
})
TEAM_DRUG = DarkRP.createJob("Drug Dealer", {
color = Color(0, 0, 0, 255),
model = {
"models/Humans/Group03/male_02.mdl",
"models/Humans/Group03/male_03.mdl",
"models/Humans/Group03/Female_06.mdl",
"models/Humans/Group03/Female_07.mdl"
},
description = [[As drug dealer it is your job to sell drugs to other people, you must avoid any law enforcement.
- Cannot raid
- Can mug
- Can steal
- Can base ]],
weapons = {"m9k_colt1911"},
command = "/dealer",
max = 2,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
category = "Criminals"
})
TEAM_COOK = DarkRP.createJob("Meth Cook", {
color = Color(0, 0, 0, 255),
model = {
"models/player/hazmat/colorable_hazmat.mdl"},
description = [[As meth cook it is your job to cook meth and sell it to the meth addict who you can find in quiet places, but you must avoid any contact with law enforcement.
- Cannot raid
- Cannot mug
- Can steal
- Can base ]],
weapons = {},
command = "/cook",
max = 5,
salary = 300,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
category = "Criminals"
})
03-06-2018, 07:54 AMRosvorer Wrote: Are you playing for some kind of work at this moment?
If so, it is possible in the jobs.lua file there is a function due to which you can not throw out the weapon
It works now all i did is update the darkrp gamemode by downloading it again and replacing the old one with it, i just copied and pasted all the jobs and stuff from the old one to the new one before replacing them :D But thank you for the help anyways! :D
Users browsing this thread: 2 Guest(s)