Cronwerks MCCode/MCCodes Forums

Please login or register.

Login with username, password and session length

News:

After purchasing with us the download link will be delivered to your forum message box.


This forum is now closed and has moved to a new location! Click here to find out why.

AuthorTopic: -----------------------------------------------------------------  (Read 713 times)

winfidel

  • Basic Member
  • *
  • Reputation Power: 8
  • winfidel has no influence.
  • Offline Offline
  • Posts: 16
    • View Profile
------------------------------------------------------------------------------------------------------
« Last Edit: September 24, 2011, 04:18:42 AM by winfidel »
Logged

Cronus

  • Administrator
  • Senior Member
  • *****
  • Reputation Power: 2901
  • Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!
  • Offline Offline
  • Posts: 550
    • MSN Messenger - preston__08@hotmail.com
    • View Profile
    • WWW
Re: adding pictures items to profile page and inventory
« Reply #1 on: December 03, 2010, 12:15:58 AM »
This would take quite a bit of know-how. How familiar with mccodes are you currently?
Logged
My msn is preston__08@hotmail.com if anyone is interested, I am online frequently.

Danny696

  • Senior Member
  • ****
  • Reputation Power: 317
  • Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.
  • Offline Offline
  • Posts: 540
    • View Profile
    • WWW
Re: adding pictures items to profile page and inventory
« Reply #2 on: December 03, 2010, 12:05:24 PM »
TBH, this wouldnt come free, nor cheap.
Logged
Project Choosen - 10%
Daniel - Hanson . Com

winfidel

  • Basic Member
  • *
  • Reputation Power: 8
  • winfidel has no influence.
  • Offline Offline
  • Posts: 16
    • View Profile
-------------------------
« Reply #3 on: December 10, 2010, 04:10:36 AM »
----------------------
« Last Edit: December 11, 2010, 01:31:00 PM by winfidel »
Logged

Grips

  • Basic Member
  • *
  • Reputation Power: 30
  • Grips has no influence.
  • Offline Offline
  • Posts: 7
    • View Profile
    • Email
Re: -------------------------------------------------------------------
« Reply #4 on: December 23, 2010, 06:22:29 AM »
in one of my old games (troubled-states) I made up private jets and what not for travel.  What you are talking about in essence isn't hard at all you just need the code to check the inventory for X item before displaying X location.  You could also have it check X location before displaying X location option.  Its all about your IF statements.
Logged

Danny696

  • Senior Member
  • ****
  • Reputation Power: 317
  • Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.
  • Offline Offline
  • Posts: 540
    • View Profile
    • WWW
Re: -------------------------------------------------------------------
« Reply #5 on: December 23, 2010, 08:54:27 AM »
OR, you could add a new coloum in the locations table, with the itemid of what item you need e.g. plane is item 45... Then just add one if statement in the while loop on the travel page, saves hard coding more ifs
Logged
Project Choosen - 10%
Daniel - Hanson . Com

winfidel

  • Basic Member
  • *
  • Reputation Power: 8
  • winfidel has no influence.
  • Offline Offline
  • Posts: 16
    • View Profile
Re: -------------------------------------------------------------------
« Reply #6 on: December 23, 2010, 02:17:59 PM »
---------------- problem resolved
« Last Edit: January 09, 2011, 08:38:19 PM by winfidel »
Logged

JoshuaDams

  • Active Member
  • **
  • Reputation Power: 129
  • JoshuaDams is working their way up.JoshuaDams is working their way up.JoshuaDams is working their way up.
  • Offline Offline
  • Posts: 240
    • MSN Messenger - immortalthug4ever@hotmail.com
    • View Profile
    • WWW
Re: -------------------------------------------------------------------
« Reply #7 on: January 06, 2011, 07:38:01 PM »
Actually this is relatively simple, I think some of you guys are overthinking it :)

I've actually got a mod that does this and a bit more laying around somewhere.

Snake

  • Basic Member
  • *
  • Reputation Power: 5
  • Snake has no influence.
  • Offline Offline
  • Posts: 6
    • View Profile
    • Email
Re: used images in monorail to give impression of different locations
« Reply #8 on: January 15, 2011, 12:37:35 PM »
Location images can be done simply this way

find this in explore.php
Code: [Select]
if($ir['jail']) { print "City Page Cannot Be Accessed While In Jail.";
$h->endpage();
exit;
}
then add this under it someplace,need to name the city images as 1,2,3 because of the city count in the game.
Code: [Select]
print "<br><center><img src='images/{$ir['location']}.jpg' width='450' height='200' alt='NO IMAGE YET' title='{$ir['location']}' /></center><br />";Hope this helps guys....thought i would try and help somebody....if this even gets read again....lol

Respect
Snake
« Last Edit: January 15, 2011, 12:39:46 PM by Snake »
Logged
BLAH BLAH BLAH BLAH

winfidel

  • Basic Member
  • *
  • Reputation Power: 8
  • winfidel has no influence.
  • Offline Offline
  • Posts: 16
    • View Profile
-----------------------------------------------------------------
« Reply #9 on: February 04, 2011, 01:13:29 PM »
------------------------------------------------------------------------------------------
« Last Edit: September 24, 2011, 04:18:24 AM by winfidel »
Logged
 


This forum is now closed and has moved to a new location! Click here to find out why.