Thread: BHD Heartbeat
View Single Post
  #3  
Old 12-24-2018, 03:36 AM
~BLÃÐE~ is offline ~BLÃÐE~
Registered User

Join Date: Dec 2004
Location: Gold Coast, Australi
Posts: 164

Send a message via ICQ to ~BLÃÐE~
Not sure if i got this right, code added to the status.php.
Added a new folder into the BHD directory with an image called nophoto.jpg

Code:
if(file_exists("/Program files(X86)/Novalogic/Delta Force Black Hawk Down/mapimages/".$Server['MissionFile'].".jpg")) {
	echo "<img src=\"/Program files(X86)/Novalogic/Delta Force Black Hawk Down/mapimages/".$Server['MissionFile'].".jpg\" />";
} else {
	echo "<img src=\"/Program files(X86)/Novalogic/Delta Force Black Hawk Down/mapimages/nophoto.jpg\" />";

} else {
Thanks
Reply With Quote