Jump to content
MakeWebGames

HarryB

Members
  • Posts

    29
  • Joined

  • Last visited

    Never

HarryB's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Re: [V1] Menu Yes it does already work but a v1 and v2 main menu are quite different. V1 main menu doesn't have jail and hospital etc.
  2. Re: [V1] Menu can somebody please help convert to v2 i've tried alsorts.
  3. Re: [V1] Menu Could somebody show me how to work this on v2 please. V2 Main menu <?php global $db,$c,$ir, $set; $hc=$set['hospital_count']; $jc=$set['jail_count']; $ec=$ir['new_events']; $mc=$ir['new_mail']; if($ir['hospital']) { print "[url='hospital.php']Hospital ($hc)[/url] [url='inventory.php']Inventory[/url] "; } elseif($ir['jail']) { print "[url='jail.php']Jail ($jc)[/url] "; } else { print "[url='index.php']Home[/url] [url='inventory.php']Inventory[/url] "; } if($ec > 0) { print "[url='events.php']Events ($ec)[/url] "; } else { print "[url='events.php']Events (0)[/url] "; } if($mc > 0) { print "[url='mailbox.php']Mailbox ($mc)[/url] "; } else { print "[url='mailbox.php']Mailbox (0)[/url] "; } if($ir['jail'] and !$ir['hospital']) { print "[url='gym.php']Jail Gym[/url] [url='hospital.php']Hospital ($hc)[/url] "; } else if (!$ir['hospital']) { print "[url='explore.php']Explore[/url] [url='gym.php']Gym[/url] [url='criminal.php']Crimes[/url] [url='job.php']Your Job[/url] [url='education.php']Local School[/url] [url='hospital.php']Hospital ($hc)[/url] [url='jail.php']Jail ($jc)[/url] "; } else { print "[url='jail.php']Jail ($jc)[/url] "; } print "[url='forums.php']Forums[/url] "; if($ir['new_announcements']) { print "[url='announcements.php']Announcements ({$ir['new_announcements']})[/url] "; } else { print "[url='announcements.php']Announcements (0)[/url] "; } print " [url='newspaper.php']Newspaper[/url] [url='search.php']Search[/url] "; if(!$ir['jail'] && $ir['gang']) { print "[url='yourgang.php']Your Gang[/url] "; } if($ir['user_level'] > 1) { print "<hr /> [url='staff.php']Staff Panel[/url] \n"; print "<hr />[b]Staff Online:[/b] "; $q=$db->query("SELECT * FROM users WHERE laston>(unix_timestamp()-15*60) AND user_level>1 ORDER BY userid ASC"); while($r=$db->fetch_row($q)) { $la=time()-$r['laston']; $unit="secs"; if($la >= 60) { $la=(int) ($la/60); $unit="mins"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } print "[url='viewuser.php?u={$r[']{$r['username']}[/url] ($la $unit) "; } } if($ir['donatordays']) { print "<hr /> [b]Donators Only[/b] [url='friendslist.php']Friends List[/url] [url='blacklist.php']Black List[/url]"; } print "<hr /> [url='preferences.php']Preferences[/url] [url='preport.php']Player Report[/url] [url='helptutorial.php']Help Tutorial[/url] [url='gamerules.php']Game Rules[/url] [url='viewuser.php?u={$ir[']My Profile[/url] [url='logout.php']Logout[/url] Time is now "; echo date ('F j, Y')." ".date('g:i:s a'); ?>   Thank You
  4. Re: Honor Awards - V2 - Modified by HarryB i see them all their
  5. Re: Honor Awards - V2 - Modified by HarryB no its not ment to be int 11, sorry i hardly get any time on the computer. Make it so it allows text to be typed in it. And you should have took all the files out of the folders not just droped the folders in your ftp.
  6. Re: Honor Awards - V2 - Modified by HarryB Sorry folks there your table CREATE TABLE `honorawards` ( `userid` int(11) NOT NULL default '0', `list` int(11) NOT NULL default '0' ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  7. Re: Hoes and Drugs $db->query("UPDATE `users` SET prostitutes=prostitutes-1 WHERE `userid`= $userid"); That should work
  8. Re: Honor Awards - V2 - Modified by HarryB well first of all it might not be adding in the database as some of you may have changed the databased field names in the database or in the coding as i spotted before the code that has been posted it, daysingang has been shortened to dig thats not going to work isit.
  9. Re: Honor Awards - V2 - Modified by HarryB Link Back Up Tested : 26/6/2008
  10. Re: Honor Awards - V2 - Modified by HarryB The screenshots are down so s the link sorry people i'll get it back up as soon as, some bad boy hacked my game and infected all my files.
  11. Re: [V2] Race Mod & Status Mod on Page 2 [V2] Haha lol first time i looked at it nothing was der it was just the scroll bar.
  12. Re: [V2] Race Mod & Status Mod on Page 2 [V2] Extermination, where's the bloody SQL. Lol. Im joking somethings probably messed up, you wouldn't forget the SQL, I know you, you make excellent mods, you've already beaten a paid mod. Anyway i've always wanted this mod so please post the SQL. ;)
  13. Re: [V2] Credit Card Mod [V2] Well Extermination i've got to say yours looks a million times better than mine, also yours is a free mod and i payed $15 for mine i think so well done but 1 thing my mod has got that yours hasn't is a check box under the buy item and the coding to buy stuff from the shop is much smaller but still as i said for a free mod you've made it look better than mine.
  14. Re: Help With announments If you could post your mainmenu.php maybe someone could tell you the problem, we can't just automatically read your code & you've posted in the wrong section.
  15. Re: Honor Awards - V2 - Modified by HarryB Really sorry it was late at night barely knew what I was doing, all fixed now.
×
×
  • Create New...