[Include] Easy Server Data - Server Information at your fingertips
#9

@ # 2 - I try to keep the amount of includes needed to a minimum, and keep it simple / straight-forward.

In regards to your next point; things like YSF can change the amount of max players; and therefore GetMaxPlayers won't return the value from the server.cfg file, - thats what this function does. And using format I thought would just be easier since I am formatting a string. Maybe I'll try using strcpy next time.

NOTE: If you wish to host the GetIP page on your own host; just copy the code, and make a PHP page with said code. Then change the link in the include, and you're good to go.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)