Hello. I wanted to find some tutorials and informations about this but I did not find anything understandable. So I decided to ask for help. I wanna make a server status for my website, which will get informations right from the server through the mysql (or some better connection server/web if u know). I can make the pawn code but i dont know how to connect it to the web.
Here are some things which I wanna connect (pawn)
Connected players count and max players:
PHP Code:
public plugin_init()
{
g_maxplayers = get_maxplayers()
}
getconnected()
{
static iConnected, id
iConnected = 0
for (id = 1; id <= g_maxplayers; id++)
{
if (is_user_connected(id))
iConnected++
}
return iConnected;
}
Current map name:
PHP Code:
new map[32]
get_mapname(map, 31)
Of course there will be much more informations, this is just an example.
So, when I have the pawn code and the .amxx plugin, now I need to take this informations right to the web (php).
The table should look like this:
[IMG]http://img338.**************/img338/5376/statuuus.jpg[/IMG]
Can someone help me to make it?