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.