Garry's Mod

DarkRP i cannot drop my guns for some reason?

Submitted by COMMUNITYGAMERS, , Thread ID: 90602

Thread Closed
02-06-2018, 06:16 PM
#1
So i have a darkrp server and recently i have noticed that i cannot drop guns for some reason? If i try to drop any m9k gun with /drop nothing happenes, it doesnt even say the command in the chat, and when i try to do /drop with a restricted weapon it shows that its working because it says unable to drop weapon.

Does anyone know how i can fix this problem? I have been dealing with it for quite some time now and cannot figure out how to fix it :/

RE: DarkRP i cannot drop my guns for some reason?

#2
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

RE: DarkRP i cannot drop my guns for some reason?

OP
This post was last modified: 03-06-2018, 03:39 PM by COMMUNITYGAMERS
#3
03-06-2018, 07:54 AM
Rosvorer 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 AM
Rosvorer 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

RE: DarkRP i cannot drop my guns for some reason?

#4
some servers have it different, you tried !drop? maybe that would work

RE: DarkRP i cannot drop my guns for some reason?

#5
Disable GAMEMODE.Config.restrictdrop (it's here: garrysmod\addons\darkrpmodification\lua\darkrp_config\settings.lua )
Also check for lua errors in logs.

Users browsing this thread: 6 Guest(s)