Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include("/includes/datebase.php");
- //*****************************************
- $ip = $aInformation['Players'];
- $passowrd = $aInformation['Password'];
- $max = $aInformation['MaxPlayers'];
- //*****************************************
- header('Content-Type: image/png;');
- $im1 = @imagecreatefrompng('svs.png') or die("Server Offline");
- //*****************************************
- $text_color1 = imagecolorallocate($im1, 0,191,255); // blue
- $text_color2 = imagecolorallocate($im1, 50,205,20); // green
- $font = 'SWANSEBI.ttf';
- //*****************************************
- imagettftext($im1, 12, 0, 215, 25, $text_color2, $font, "Players:");
- imagettftext($im1, 12, 0, 265, 25, $text_color1, $font, $max);
- //*****************************************
- imagepng($im1);
- imagedestroy($im1);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement