MTA Servidores Posted August 15, 2017 Posted August 15, 2017 Hello guys. I'm trying to use the PHP SDK from MTA: SA on my site but I can not. What I want to do is get the basic information from a server as a number of players online, whether it is password protected, or no password, whether online or offline. I just can not find any documentation to help me. Can someone help me?
szekelymilan Posted August 15, 2017 Posted August 15, 2017 I recommend you to use callRemote(), and update the stats in the PHP files every minute with setTimer() in Lua. If the PHP didn't receive the new stat, it means, the server is offline.
MTA Servidores Posted August 15, 2017 Author Posted August 15, 2017 36 minutes ago, MakroBox said: I recommend you to use callRemote(), and update the stats in the PHP files every minute with setTimer() in Lua. If the PHP didn't receive the new stat, it means, the server is offline. And how would you use callRemote ()?
MTA Servidores Posted August 17, 2017 Author Posted August 17, 2017 I think you did not understand. I want the status of multiple servers without having access to it.
szekelymilan Posted August 17, 2017 Posted August 17, 2017 9 minutes ago, MTA Servidores said: I think you did not understand. I want the status of multiple servers without having access to it. I think, it only can be possible if you have a bot, who automatically updates it from an MTA Client's Server Browser. (like gametracker.com)
MTA Servidores Posted August 19, 2017 Author Posted August 19, 2017 On 17/08/2017 at 15:10, MakroBox said: I think, it only can be possible if you have a bot, who automatically updates it from an MTA Client's Server Browser. (like gametracker.com) Thank you. That's what I needed to know.
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