Ah yes, what everyone wants, well its possible with the new playerdrop fix, oh boy!
And I've taken the liberty to make a script set for you, 3 different scripts... one for melee, one for secondary, and one for primary. Aren't I nice?
melee
;Header
desc = melee weapon script
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecoretextmelee.tga,hudname=meleeprompt,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=40:state=2,hudshow=meleeprompt
:state=2,scancodekeypressed=59:playertake,coloff,rundecal=-1,plrsound=audiobankitemspickupweapon.wav,hudfadeout=meleeprompt,state=3
:state=2,plrdistfurhter=40:state=1,hudfadeout=meleeprompt
:state=3,scancodekeypressed=0:state=4
:state=4,scancodekeypressed=59:playerdrop,state=5
:state=5,scancodekeypressed=0:state=1
secondary
;Header
desc = melee weapon script
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecoretextsecondary.tga,hudname=secondaryprompt,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=40:state=2,hudshow=meleeprompt
:state=2,scancodekeypressed=60:playertake,coloff,rundecal=-1,plrsound=audiobankitemspickupweapon.wav,hudfadeout=secondaryprompt,state=3
:state=2,plrdistfurhter=40:state=1,hudfadeout=secondaryprompt
:state=3,scancodekeypressed=0:state=4
:state=4,scancodekeypressed=60:playerdrop,state=5
:state=5,scancodekeypressed=0:state=1
primary
;Header
desc = melee weapon script
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecoretextprimary.tga,hudname=primaryprompt,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=40:state=2,hudshow=meleeprompt
:state=2,scancodekeypressed=61:playertake,coloff,rundecal=-1,plrsound=audiobankitemspickupweapon.wav,hudfadeout=primaryprompt,state=3
:state=2,plrdistfurhter=40:state=1,hudfadeout=primaryprompt
:state=3,scancodekeypressed=0:state=4
:state=4,scancodekeypressed=61:playerdrop,state=5
:state=5,scancodekeypressed=0:state=1
its not quite tested yet (
)but im about to, will post an edit
-edit-
oopsies, i forgot i need to update still
-edit again-
ok, so, obviously, the weapon picks up fine, it drops, but above the ground. And here's the troublesome part, once its dropped, it cannot be retrieved. Also, you can push the said button anyways to drop it in return for nothing, I didnt mind this, except it could be potentially problematic if you cant pick it back up
So, in conclusion, this is a limited possibility until an update allowing you to recollect dropped items, I will try to contact lee about this.
added note, buttons-
melee=f1
secondary=f2
primary=f3