First you ask in the wrong board!
Second try it yourself
Third this is so easy but i will help you:
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pickedupaweapon.tga,hudname=weaponprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=40,plrusingaction=1:state=1,playertake,coloff,rundecal=-1,plrsound=audiobank\items\pickupweapon.wav,hudshow=weaponprompt,hudfadeout=weaponprompt
you need a script? I need useful requests at the moment!
http://forum.thegamecreators.com/?m=forum_view&t=200918&b=23