Marcuzz / MetroLoad

MetroLoad - A GMod Loadingscreen
10 stars 5 forks source link

Map Icons with gametracker not working #1

Closed P4sca1 closed 9 years ago

P4sca1 commented 9 years ago

The map images are not working with my loading screen. I changed the order of the boxes a bit but not much more. Here's my sv_loadingurl: http://einfach-gmod.de/loading/ttt?steamid=%s&mapname=%m

And my maps.php: http://paste.ee/p/Q9Ey5

And finally the specific part in my config.php: http://prntscr.com/7f22p3

Marcuzz commented 9 years ago
<?php

    $colour = '#ac193d';
    $gradient = array(
        '#ac193d', // Left colour
        '#bf1e4b' // Right colour
    );

    $box_title = 'Map';
    $fa_icon = 'bars'; // Font awesome icon class name

    $transparency = 1; // 0.1 to 1
    $size = 3; // 1 to 12 (12 is the whole page wide)
    $contents = '
        <div class="map-img">
            <img src="'.$mapname.'" width="100%" height="100%"></img>
        </div>
        <div class="box-inner">
            <h3><i class="fa fa-'.$fa_icon.'"></i> '.$box_title.'</h3><br>
            '.$clear_mapname.'
        </div>
    '; 

?>

Try this in your maps.php file

P4sca1 commented 9 years ago

Working now. Thanks! :)