Jump to content
MakeWebGames

grimsybaby

Members
  • Posts

    67
  • Joined

  • Last visited

    Never

grimsybaby's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Re: [v2]Ctemple lol i seen the ctemple karlos has made and geez its briallnt its alot better then any on CE currently. even i the noobiest coder here could make a ctemple if i wanted :P
  2. Re: [mccode v2]My Simple Search Streets   The one your referring to is a more advanced Search area nothing to do with streets. Damn glad i could edit lol was just saying looks similer :P
  3. Re: [mccode v2]My Simple Search Streets this looks very similar to one that is on sale, http://criminalexistence.com/ceforums/i ... ic=17691.0
  4. Re: mainmenu.php help chears mtg :) cant belive i missed it lol
  5. Heya guys / girls / people :) im abit stumped here, i have remade my mainmenu.php but it doesnt work properly, if in jail / hospital the screen goes white. and abit of the mainmenu goes to the bottom of the screen. culd somebody check it over and see if they could fix it please :)   <?php global $db,$c,$ir, $set, $userid; $hc=$set['hospital_count']; $jc=$set['jail_count']; $mc = $db->fetch_single($db->query(sprintf("SELECT COUNT(mail_id) FROM mail WHERE ((mail_read = 0) AND (mail_to = %u))", $ir['userid']))); $ec = $ir['new_events']; if($ir['hospital']) { print "<table width='50%' border='0' cellspacing='0'> <tr> <td> <u>[b]Main Menu[/b]</u> [*][url='hospital.php']Hospital[/url] [*][url='inventory.php']Inventory[/url]"; if($ec > 0) { print "[*][url='events.php'][b]Events[/b][/url]"; } else { print "[*][url='events.php']Events[/url]"; } if($mc > 0) { print "[*][url='mailbox.php'][b]Mailbox[/b][/url]"; } else { print "[*][url='mailbox.php']Mailbox[/url]"; } if($ir['new_announcements']) { print "[*][url='announcements.php'][b]Game News[/b][/url]"; } else { print "[*][url='announcements.php']Game News[/url]"; } print "[*][url='chat.php']Public House[/url] [*][url='forums.php']Forums[/url] [*][url='newspaper.php']Newspaper[/url]"; if($ir['gang']) { print "[*][url='yourgang.php']Your Gang[/url]"; } print "[*][url='search.php']User Search[/url]"; if($ir['donatordays']) { print "[*][url='friendslist.php']Friends List[/url] [*][url='blacklist.php']Black List[/url]"; } print "</td> </tr> <tr> <td>"; if($ir['user_level'] > 1) { print "<u>[b]Staff Menu[/b]</u> [*][url='staff.php']Staff Menu[/url]"; } print "</td> </tr> <tr> <td> [b]<u>Settings</u>[/b] [*][url='preferences.php']Account[/url] [*][url='gamerules.php']Game Rules[/url] [*][url='help.php']Game Help[/url] [*][url='logout.php']Logout[/url] </td> </tr> <tr> <td> [b]<u>Reports</u>[/b] [*][url='bugtracker.php']Bug Report[/url] [*][url='preport.php']Player Report[/url] [*][url='askstaff.php']Ask The Staff[/url]"; print "</td> </tr> </table>"; } elseif($ir['jail']) { print "<table width='50%' border='0' cellspacing='0'> <tr> <td> <u>[b]Main Menu[/b]</u> [*]<a href='jail.php'>Jail/a> [*][url='inventory.php']Inventory[/url]"; if($ec > 0) { print "[*][url='events.php'][b]Events[/b][/url]"; } else { print "[*][url='events.php']Events[/url]"; } if($mc > 0) { print "[*][url='mailbox.php'][b]Mailbox[/b][/url]"; } else { print "[*][url='mailbox.php']Mailbox[/url]"; } if($ir['new_announcements']) { print "[*][url='announcements.php'][b]Game News[/b][/url]"; } else { print "[*][url='announcements.php']Game News[/url]"; } print "[*][url='gym.php']Gym[/url] [*][url='chat.php']Public House[/url] [*][url='forums.php']Forums[/url] [*][url='newspaper.php']Newspaper[/url]"; if($ir['gang']) { print "[*][url='yourgang.php']Your Gang[/url]"; } print "[*][url='search.php']User Search[/url]"; if($ir['donatordays']) { print "[*][url='friendslist.php']Friends List[/url] [*][url='blacklist.php']Black List[/url]"; } print "</td> </tr> <tr> <td>"; if($ir['user_level'] > 1) { print "<u>[b]Staff Menu[/b]</u> [*][url='staff.php']Staff Menu[/url]"; } print "</td> </tr> <tr> <td> [b]<u>Settings</u>[/b] [*][url='preferences.php']Account[/url] [*][url='gamerules.php']Game Rules[/url] [*][url='help.php']Game Help[/url] [*][url='logout.php']Logout[/url] </td> </tr> <tr> <td> [b]<u>Reports</u>[/b] [*][url='bugtracker.php']Bug Report[/url] [*][url='preport.php']Player Report[/url] [*][url='askstaff.php']Ask The Staff[/url]"; print "</td> </tr> </table>"; } else print " <table width='50%' border='0' cellspacing='0'> <tr> <td> <u>[b]Main Menu[/b]</u> [*][url='index.php']Home[/url] [*][url='inventory.php']Inventory[/url]"; if($ec > 0) { print "[*][url='events.php'][b]Events[/b][/url]"; } else { print "[*][url='events.php']Events[/url]"; } if($mc > 0) { print "[*][url='mailbox.php'][b]Mailbox[/b][/url]"; } else { print "[*][url='mailbox.php']Mailbox[/url]"; } if($ir['new_announcements']) { print "[*][url='announcements.php'][b]Game News[/b][/url]"; } else { print "[*][url='announcements.php']Game News[/url]"; } print "[*][url='gym.php']Gym[/url] [*][url='crimes.php']Crimes[/url] [*][url='chat.php']Public House[/url] [*][url='explore.php']City[/url] [*][url='education.php']Schooling[/url] [*][url='jail.php']Jail[/url] [*][url='hospital.php']Hospital[/url] [*][url='forums.php']Forums[/url] [*][url='newspaper.php']Newspaper[/url]"; if($ir['gang']) { print "[*][url='yourgang.php']Your Gang[/url]"; } print "[*][url='search.php']User Search[/url]"; if($ir['donatordays']) { print "[*][url='friendslist.php']Friends List[/url] [*][url='blacklist.php']Black List[/url]"; } print "</td> </tr> <tr> <td>"; if($ir['user_level'] > 1) { print "<u>[b]Staff Menu[/b]</u> [*][url='staff.php']Staff Menu[/url]"; } print "</td> </tr> <tr> <td> [b]<u>Settings</u>[/b] [*][url='preferences.php']Account[/url] [*][url='gamerules.php']Game Rules[/url] [*][url='help.php']Game Help[/url] [*][url='logout.php']Logout[/url] </td> </tr> <tr> <td> [b]<u>Reports</u>[/b] [*][url='bugtracker.php']Bug Report[/url] [*][url='preport.php']Player Report[/url] [*][url='askstaff.php']Ask The Staff[/url]"; print "</td> </tr> </table>"; ?>
  6. Re: jobs information cron_hour.php With EXP $db->query("UPDATE users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN jobs j ON j.jID=u.job LEFT JOIN jobranks jr ON u.jobrank=jr.jrID SET u.money=u.money+jr.jrPAY, u.exp=u.exp+(jr.jrPAY/20) WHERE u.job > 0 AND u.jobrank > 0");   im guessing it should be like this if u wanna take out the exp Without EXP $db->query("UPDATE users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN jobs j ON j.jID=u.job LEFT JOIN jobranks jr ON u.jobrank=jr.jrID SET u.money=u.money+jr.jrPAY WHERE u.job > 0 AND u.jobrank > 0");
  7. Re: Link.? or simply make it go to the index.php :P
  8. Re: Request for help why not try something like this ? http://www.dynamicdrive.com/dynamicinde ... npanel.htm
  9. Re: could someone check my game reallly quick... when in the game, its abit hard on your eyes O.o change the blue and red lol
  10. Re: one of my mods deleted ? Illusions mod is brillaint !! i love it to bits, he was good with support when i had trouble but i / he / we managed to fix it :) i dont understand why it was deleted im very sure this was coded compleatly differnt from the version that is up !! !! let this mod be alloed!
  11. Re: 3 Revamps [V2] no you dont need all 3 to work but for most of them to work u'll need the other mods i posted links to above the code :) that will get them to work if not contact me, "[email protected]" <-- add me on msn and ill see what i can do :)
  12. Re: Table Help hehe good luck :) enjoy matey :)
  13. Re: Table Help try this, it works, i have tested it, you might wanna change the border tho :o pretty hench lol! enjoy :) <?php global $db,$c,$ir, $set; $hc=$set['hospital_count']; $jc=$set['jail_count']; $ec=$ir['new_events']; $mc=$ir['new_mail']; $ac=$ir['new_announcements']; print " <table width=100% border=7> <tr height=25> <td colspan=2> Main Menu </td> </tr> <tr height=25> <td valign=top> [url='index.php']Home[/url] </td> <td valign=top> [url='inventory.php']Items[/url] </td> </tr> <tr height=25> <td valign=top>"; if($ec > 0) { print "[url='events.php']Events ($ec)[/url] "; } else { print "[url='events.php']Events (0)[/url] "; } print " </td> <td valign=top>"; if($mc > 0) { print "[url='mailbox.php']Mailbox ($mc)[/url] "; } else { print "[url='mailbox.php']Mailbox (0)[/url] "; } print " </td> </tr> <tr height=25> <td valign=top>"; if($ac > 0) { print "[url='announcements.php']Announcement ($ac)[/url] "; } else { print "[url='announcements.php']Mailbox (0)[/url] "; } print " </td> <td valign=top> [url='explore.php']Explore[/url] </td> </tr> <tr height=25> <td valign=top> [url='gym.php']Gym[/url] </td> <td valign=top> [url='crystaltemple.php?spend=refill']Refill[/url] </td> </tr> <tr height=25> <td valign=top> [url='job.php']Your Job[/url] </td> <td valign=top> [url='criminal.php']Crimes[/url] </td> </tr> <tr height=25> <td valign=top> [url='education.php']Local School[/url] </td> <td valign=top> [url='polling.php']Polling Booth[/url] </td> </tr> <tr height=25> <td valign=top> [url='hospital.php']Hospital ($hc)[/url] </td> <td valign=top> [url='jail.php']Jail ($jc)[/url] </td> </tr> <tr height=25> <td valign=top> [url='forums.php']Forums[/url] </td> <td valign=top> [url='newspaper.php']Newspaper[/url] </td> </tr> <tr height=25> <td valign=top> [url='search.php']Search[/url] </td> <td valign=top> [url='usersonline.php']Users Online[/url] </td> <tr height=25> <td colspan=2> Donators Only </td> </tr> <tr height=25> <td valign=top> [url='friendslist.php']Friends List[/url] </td> <td valign=top> [url='blacklist.php']Black List[/url] </td> </tr> <tr height=25> <td colspan=2> Personal Preferences </td> </tr> <tr height=25> <td valign=top> [url='preferences.php']Preferences[/url] </td> <td valign=top> [url='preport.php']Player Report[/url] </td> </tr> <tr height=25> <td valign=top> [url='breport.php']Bug Report[/url] </td> <td valign=top> [url='helptutorial.php']Help Tutorial[/url] </td> </tr> <tr height=25> <td valign=top> [url='gamerules.php']Game Rules[/url] </td> <td valign=top> [url='viewuser.php?u={$ir[']My Profile[/url] </td> </tr> <tr height=25> <td colspan=2> Exit Area </td> </tr> <tr height=25> <td colspan=2> [url='logout.php']Logout[/url] </td> </tr> </table> "; ?>
  14. Re: one of my mods deleted ? O.o i missed that mod where you could set how much you could be busted out for, i was looking for one of thiose ages ago :( is their a small chance you could send it to me over private ? :)
  15. Re: 3 Revamps [V2]   they arnt remakes, just revamps make the layout's look nicer :)
×
×
  • Create New...