Advertisement
Short_Circuit

Untitled

Jul 21st, 2015
231
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (!($mapicon = file_get_contents("http://image.www.gametracker.com/images/maps/160x120/garrysmod/" . $map . ".jpg"))))
  2.     $mapicon = file_get_contents("http://image.www.gametracker.com/images/maps/160x120/nomap.jpg");
  3.  
  4. $mapicon = base64_encode( $mapicon );
  5. $mapicon = 'data:image/jpeg;base64,' . $mapicon;
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement