• Dark Rp Weapon Auto Pickup
    11 replies, posted
I have a dark rp server and we have been having issues with /drop,/weapondrop,and /dropweapon not working so we resorted to an addon that adds in a console command to drop a weapon. The weapon after being dropped will automatically pickup and we want to find a way to disable that. we want you to have to look at and press "e" on the weapon local function Drop(ply) ply:DoAnimationEvent( ACT_GMOD_GESTURE_ITEM_DROP ) timer.Simple( 0.9, function() ply:DropWeapon(ply:GetActiveWeapon()) end ) end concommand.Add("Drop", Drop) That is the script we use to drop the weapons. i know its simple and basic. Also would be appreciated if a better script for dropping weapons is suggested/made but at the least im looking for a fix where it doesnt auto pick up. Thank you!
The weapon drop bug was fixed a few updates ago. Update your DarkRP.
We have the current update of 2.7.0
"Can't drop this weapon!" means you've blacklisted dropping of the weapon because A) It's in the custom config weapon drop blacklist, but I'm guessing your issue is B) You're not allowing jobs to drop their default weapons, which is another config option.
Make sure you have the latest version from the GitHub - just having 2.7.0 is not enough.
Where would the custom weapon blacklist be? and its every weapon for every rank. I spawn in an M9K weapon as the server owner and it still wont let me drop no matter the job.
That is unreliable, you should be grabbing it directly from GitHub.
okay, before i do that one last question, would deleting and replacing the whole dark rp gamemode within garrysmod/gamemodes ruin any setting, addons or configs?
If you haven't modified any core files, then no.
Thank you! will let you know what happens!
This did not fix my issue i am still getting the error of this picture http://prntscr.com/k76aj3 I spawn in a weapon from the q menu, any weapon and that shows up. I am fully updated with the latest github dark rp.
Oh, well if it's saying you can't drop it, that's a problem with your code or job table. You can see the specific conditions you can't drop a weapon here and here.
Sorry, you need to Log In to post a reply to this thread.