Try editing this
:state=4,plrdistwithin=40:fpgcrawtextsize=18,fpgcrawtextfont=arial,fpgcrawtextr=200,fpgcrawtextg=200,fpgcrawtextb=200,fpgcrawtextx=50,fpgcrawtexty=70,fpgcrawtext=You don't have enough money.Cost - 500$
to something like this
:state=3:etimerstart
:state=4,plrdistwithin=40:fpgcrawtextsize=18,fpgcrawtextfont=arial,fpgcrawtextr=200,fpgcrawtextg=200,fpgcrawtextb=200,fpgcrawtextx=50,fpgcrawtexty=70
:state=4:fpgcrawtext=You don't have enough money. cost-$500
:state=4,etimergreater=1000:etimerstart,state=5
:state=5,plrdistwithin=40:fpgcrawtextsize=18,fpgcrawtextfont=arial,fpgcrawtextr=200,fpgcrawtextg=200,fpgcrawtextb=200,fpgcrawtextx=50,fpgcrawtexty=70
:state=5:fpgcrawtext=Cost-$500(press f to buy)
:state=5,etimergreater=1000
I haven't tested but It seemed to work well for me when I used three lines to display the fpgcrawtext. Your more than welcome to use this code as a model.
http://forum.thegamecreators.com/?m=forum_view&t=196813&b=23