I am making a script that when the player presses the use key, they will drop the weapon they are currently using, and pick up the one they are looking at.
Here is the current code:
;Artificial Intelligence Script
;Header
desc = store item (value=10)
;Triggers
:state=0:state=3
:state=2,plrdistfurther=60:state=0
:state=3,plrdistwithin=60,plrusingaction=1:state=0,playerdrop,playertake,coloff
:state=3,plrdistfurther=60:state=0
:state=4,plrdistfurther=60:state=0
;End of Script
The problem with it is that when I press the use key, I pick up the weapon, but I don't drop the one I'm currently holding!
Please help
ALL WHO OPPOSE ME WILL BE CONSUMED BY FIREY BLACK DEATH!
I also like cookies