Jump to content
MakeWebGames

Recommended Posts

Posted

Hey guys, i've got my Mccodes game running at GangLand.co.nr and wanted help with a little mod my friend has seen on another Mccodes game which is also running V2. The mod allows the title image to change according to the users jail or hospital status. I am thinking that this is a little mod and tried modifying the header.php file to make it change, but im not sure if im doing it correctly. Could someone please help me with this and maybe give me the code and which file to insert it into.

Thanks, CHAMAVELI

Posted

Re: Mccodes V2 Layout help

this should work for you

 

if($ir['jail']) {
   echo "[img=images/title.jpg]
";
} else if($ir['hospital']) {
   echo "[img=images/title.jpg]
";
} else {
   echo "[img=images/title.jpg]
";
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...