Siml0x Posted January 1, 2011 Share Posted January 1, 2011 Hi, currently I want to make a neat playerlist for our clan. So I searched around the net and this forum and found 3 php classes / tools to get information like playernames from the server. None of the scripts worked. Well my question is: Is there any working PHP Query Class for the current MTA Version? Or is there any documentation how to get this information by UDP? Link to comment
Callum Posted January 1, 2011 Share Posted January 1, 2011 I just use https://wiki.multitheftauto.com/wiki/PHP_SDK Link to comment
Siml0x Posted January 1, 2011 Author Share Posted January 1, 2011 Well I might need to add something: I'm a total newb to lua, but I'm working with php for a longer time now. Also I don't need returns or stuff like that. I just need something like game-monitor has. Just with a playerlist... Link to comment
Callum Posted January 1, 2011 Share Posted January 1, 2011 You'll need to setup a lua script that returns the table (array) of players, and then the PHP script loops the table and outputs it. Link to comment
lil Toady Posted January 1, 2011 Share Posted January 1, 2011 Just find a php script on the internet that does ASE query. It's pretty commonly used. http://forum.game-monitor.com/showthread.php?t=821 here's an example Link to comment
eAi Posted January 1, 2011 Share Posted January 1, 2011 ... but you'll be able to achieve much more interesting things with the PHP SDK. 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