Raised This Month: $ Target: $400
 0% 

use file somewhere in the computer


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 11-02-2012 , 13:04   Re: use file somewhere in the computer
Reply With Quote #4

example plugin using file cstrike\test.txt (writes hostname every 10 sec and displays contents with log_amx):
Spoiler


2 servers running this plugin:
Code:
H:\HLDS\hlds.exe
H:\HLDS2\hlds.exe
Create file that will be used as target for links:
Code:
H:\hlds_data\data.txt
Execute in cmd.exe:
Code:
mklink H:\HLDS\cstrike\test.txt H:\hlds_data\data.txt
mklink H:\HLDS2\cstrike\test.txt H:\hlds_data\data.txt
Now start both servers and see that plugin on both servers will write and read from H:\hlds_data\data.txt
__________________
Impossible is Nothing
Sylwester is offline
 



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 01:30.


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