player stats online - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: player stats online (
/showthread.php?tid=444220)
player stats online -
InTeL_cOrE_i7 - 15.06.2013
i've seen one server with there top 25 players, with the players score on the website, it automatically updated, i want to add it to my website but i don't know how to get it... please, if you know, tell, if you do, i will
REP+ you
Re: player stats online -
McBan - 15.06.2013
Pretty simple.
1. Make sure you have a database (localhost or whatever host you have)
2. Make a simple PHP script to make the box (outline) for the stats to gin
3. Just make a simple variable script to store the variables in (so the players name and score)
4. Lastly, To update it every few seconds, Just don't put return 1; at the end of the script so it doesn't end.
PM me if your having problems.