This is the code i'm using
rem shop (ammunition)
if cx#>180 and cx#<230 and cz#>300 and cz#<325 and shop=0
print "Press Z to talk to shop keeper"
shop=1
endif
if (inkey$())="z" and shop=1
print "bullets are 2 for a daller and work in all guns. press b tobuy"
endif
if (inkey$())="b" and shop=1
input "this text wont show",bullets
if bullets*2=<money
money=money-bullets*2
ammo=ammo+bullets
shop=2
else
error=1
endif
endif
if cx#>180 and cx#<230 and cz#>300 and cz#<325 and shop=2
print "thank you come again"
else
shop=0
endif
if error=1 and cx#>180 and cx#<230 and cz#>300 and cz#<325
print "Sorry you can't afford that"
else
error=0
endif
this is also on 3d background(not sure if it matters). All the rest of the code works fine including the part were it gets the bullets just wont print the text.
Trevor Somerville