thank you
Krim // Relgam.com for the php script, maybe you'll update it for new gungame plugin
also i wanned to say that you can use this to update mysql table periodically with a cronjob on linux if you run a web server on the same machine where the gungame server is runing
Example: create a file , i named ggupdate.sh , i chmoded it to be executable (chmod +x ggupdate.sh) and write this lines in it
Code:
/bin/cp -rf /home/games/gungame/cstrike/gungame.txt /home/web/public_html/
chown web:apache /home/web/public_html/gungame.txt
php -q /root/cronjobs/gungame_update.php
the gungame_update.php is the php script posted by
Krim // Relgam.com
after this add the cronjob, edit crontab:
add a line to run this script , i'm runing it every 15 min
Code:
*/15 * * * * /root/cronjobs/ggupdate.sh >/dev/null 2>&1
i'm runing this cronjob as root , but you can run it as any user you want
__________________