Raised This Month: $ Target: $400
 0% 

read_file problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Millhouse
New Member
Join Date: Mar 2005
Old 03-21-2005 , 10:06   read_file problem
Reply With Quote #1

I build a script which open a txt file on another server (http://217.20.115.30/banned.txt), but it doesn`t work.


Code:
new file[64]; file = "http://217.20.115.30/banned.txt";     new line, text[64], txtlen while((line = read_file(file,line,text,63,txtlen)) != 0) {     client_cmd(parm[0],"echo ^"The number is %s^"",text) }
parm[0] is the playerid, if i take a local file, its work.

This is only a test script, so don`t be so hard to me ;D

Can someone help me?

Millhouse

ps: sry for my bad english, i gave my best
Millhouse is offline
Send a message via ICQ to Millhouse
 


Thread Tools
Display Modes

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 14:10.


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