oohhh, you mena that, soory, yes i do know how to do that, it's just i used custom huds for it and i thought you might want them tos how up. sorry, i'll upload the actual script.
;Artificial Intelligence Script
;Header
desc = Use Door for $1500 (Push Open and Push Closed)
;Triggers
:state=0:settargetname=cs1
:state=0:hudreset,hudx=50,hudy=80,hudimagefine=gamecorehudsnofunds.png,hudname=mp1ksorry,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=80,hudimagefine=gamecorehudsunlock_door.png,hudname=mp1kbuyornot6,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecoretextpickedupanitem.tga,hudname=itemprompt,hudhide=1,hudmake=display,state=2
:state=15:globalvar=1,decvar=1500,activatetarget=13,hudreset,hudx=50,hudy=90,hudimagefine=gamecoretextpressentertouse.tga,hudname=usedoorprompt,hudhide=1,hudmake=display,state=10
:state=1:rundecal=5
:state=2,plrdistwithin=70:activate=9,globalvar=1,state=3
:state=3,varless=1500:state=4
:state=3,varequal=1500:state=5
:state=3,vargreater=1500:state=5
:state=4:hudshow=mp1ksorry
:state=4,plrwithinzone=0,activated=9:activate=0,hudunshow=mp1kbuyornot6,hudunshow=mp1ksorry,state=2
:state=5:hudshow=mp1kbuyornot6,state=6
:state=6,scancodekeypressed=21:hudunshow=mp1kbuyornot6,hudunshow=mp1ksorry,state=15
:state=6,scancodekeypressed=49:hudunshow=mp1kbuyornot6,hudunshow=mp1ksorry,state=7
:state=6,plrwithinzone=0,activated=9:activate=0,hudunshow=mp1kbuyornot6,hudunshow=mp1ksorry,state=2
:state=7,plrwithinzone=0,activated=9:activate=0,state=2
:state=10,plrdistwithin=70:hudshow=usedoorprompt,hudfadeout=usedoorprompt
:state=10,plrdistwithin=70,plrusingaction=1:activate=2
:state=10,activated=2:state=11,setframe=0,sound=$0
:state=11:incframe=0
:state=11,frameatend=0:state=12,coloff
:state=12,plrdistwithin=70,plrusingaction=1:activate=0
:state=12,activated=0:state=13,sound=$1,colon
:state=13:decframe=0
:state=13,frameatstart=0:state=10,setframe=0
;End of Script
strike force delta (on the rails) http://forum.thegamecreators.com/?m=forum_view&t=152412&b=25
darkest depths http://forum.thegamecreators.com/?m=forum_view&t=151509&b=25