Raised This Month: $ Target: $400
 0% 

Read file on HUD


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Drak
Veteran Member
Join Date: Jul 2005
Old 06-25-2006 , 01:11   Read file on HUD
Reply With Quote #1

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?
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode