Raised This Month: $51 Target: $400
 12% 

Write online players to .txt


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
4ever16
Veteran Member
Join Date: Apr 2015
Old 05-22-2017 , 00:48   Write online players to .txt
Reply With Quote #1

Can someone help me on the way?
Im using gameQ instead of php query cause php queary doesnt work on the host i have.

Is there some solutions you can link to or anything else?
Please advice me or help me solve this.

Thanks!

PHP Code:
I need to get players from CS server and write them to a .txt file.
1 player per row.

Output should be like this. ( If there are 3 players in the server )

Playernick 1
Playernick 2
Playernick 3

Also the script 
and .txt file allways updates itself.
So if there are only 1 player in the server the output should look like this.

Playernick 1

If new player comes into the server then.

Playernick 1
Playernick 2

If 0 players then empty. 
4ever16 is offline
Reply



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 03:51.


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