array( 'method'=>"GET", 'header'=>"User-Agent: pgg-room-viewer_php +https://git.magmaus3.eu.org/magmaus3/projectgungame-roomviewer-php \r\n" ) ); $context = stream_context_create($opts); // Here you can change the URL of the server $data = file_get_contents("http://pgg-server.glitch.me/scripts/getrooms.php", false, $context); parse_str($data, $arr); ?>
Name | Players | Password | PvP | Edit | Country | Gamemode |
---|---|---|---|---|---|---|
= $arr["roomname$i"]?> | = $arr["players$i"] . "/" . $arr["maxplayers$i"] ?> | idk | = $arr["pvp$i"] ?> | = $arr["edit$i"] ?> | = $arr["country$i"] ?> | = $arr["gamemode$i"] ?> |
No active games |