WASSIm. Posted July 17, 2014 Share Posted July 17, 2014 hi guys, how i can make info server show in SMF forum like this Link to comment
Mr_Moose Posted July 21, 2014 Share Posted July 21, 2014 There are many ways, either a shared mysql database since mysql can be accessed both by PHP websites like SMF and in game on a mta server. That could be useful for the punishments overview since it's a large amount of data that should be stored wherever it's needed most which is most likely on the webserver where everyone can see it. The other option is the php sdk: https://wiki.multitheftauto.com/wiki/PHP_SDK I would recommend the php sdk for the server info box, simply add the files to your webserver and run the sample code from the wiki just to see that it works, then you are able to pass arguments from your mta server to your webserver and vice versa. Your MTA server has lua functions to get that kind of info such as players online, max players, game mode and other info that will be easy to display online. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now