Hey all i have made a script and a hud for conjoured entertainments money system.
to get ammo.
the script:
;Artificial Intelligence Script By Conjured Entertainment
;Header
desc = Pickup Colt45 for 1000 Cash
;Triggers
:plrwithinzone=0,activated=9:activate=0,hudunshow=colt451kbuyornot,hudunshow=colt451ksorry,state=2
:state=0:hudreset,hudx=50,hudy=80,hudimagefine=gamecore\huds\user\funds_ammo.dds,hudname=ammo100sorry,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=80,hudimagefine=gamecore\huds\user\confirm_ammo.dds,hudname=ammo100buyornot,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pickedupanitem.tga,hudname=itemprompt,hudhide=1,hudmake=display,state=2
:state=1:rundecal=5
:state=2,plrdistwithin=40:activate=9,state=3
:state=3,varequal=cecashcounter 100:state=5
:state=3,varless=cecashcounter 100:state=4
:state=3,vargreater=cecashcounter 100:state=5
:state=4:hudshow=ammo100sorry
:state=4,plrwithinzone=0,activated=9:activate=0,hudunshow=ammo100buyornot,hudunshow=ammo100sorry,state=2
:state=5:hudshow=ammo100buyornot,state=6
:state=6,scancodekeypressed=21:hudunshow=ammo100buyornot,hudunshow=ammo100sorry,state=10
:state=6,scancodekeypressed=49:hudunshow=ammo100buyornot,hudunshow=ammo100sorry,state=7
:state=6,plrwithinzone=0,activated=9:activate=0,hudunshow=ammo100buyornot,hudunshow=ammo100sorry,state=2
:state=7,plrwithinzone=0,activated=9:activate=0,state=2
:state=10:subvar=cecashcounter 100,playertake,coloff,plrsound=audiobank\misc\ping.wav,hudshow=itemprompt,hudfadeout=itemprompt,state=1
;End of Script
.
i've attached the hud
''Make sure your hands are clean before you point the finger''