can anyone make me a script will take a weapon but to take i must have a code and when i enter the code i have the weapon and can shoot my code is wrong
;Artificial Intelligence Script
;Header
desc=
;Triggers
:state=0:state=1
:state=1,plrdistwithin=50:timerstart,plrdisable=100000,state=2,
:state=2:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=150,fpgcrawtextg=150,fpgcrawtextb=150,fpgcrawtextx=50,fpgcrawtexty=60
:state=2:fpgcrawtext=I found an Bizon PP19.
:state=2,timergreater=500,plrusingaction=1:timerstart,state=8
:state=3,scancodekeypressed=4D:plrdisable=0,state=4
:state=4,scancodekeypressed=4D:plrdisable=0,state=5
:state=5,scancodekeypressed=16:plrdisable=0,state=6
:state=6,scancodekeypressed=46:plrdisable=0,state=7
:state=7,scancodekeypressed=34:plrdisable=0,state=9
:state=8:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=150,fpgcrawtextg=150,fpgcrawtextb=150,fpgcrawtextx=50,fpgcrawtexty=60
:state=8:fpgcrawtext=Enter the Promo Code.
:state=8,timergreater=500,plrusingaction=1:playertake,coloff,plrsound=gamecore\guns\ww2\mp40\putaway.wav,state=9
:state=8,scancodekeypressed=14:plrdisable=0,state=3
:state=9:playertake,coloff,plrdisable=0
;End of Script
Your signature has been erased by a mod - Please reduce it to 600x120 maximum size.