I wanted to display texted on a HUD that is in a txt file,
Code:
new result[64],resultlength
nextline = read_file("addons/amxmodx/configs/text.cfg",nextline,result,63,resultlength)
format(moneydisplay,255,"Text %s^n",result)
set_hudmessage(255,0,0,0.02,-0.7,_,_,_,_,_,1)
show_hudmessage(id,moneydisplay)
It shows up, but it just keep's switching thru the txted in the file, how do I set a interval and it will read each line at the set interval?
__________________