Jump to content
MakeWebGames

Djkanna

Members
  • Posts

    3,137
  • Joined

  • Last visited

  • Days Won

    35

Everything posted by Djkanna

  1. Re: Dogdy bussines Personally i do not belive that david (iam) would do such a thing i have known him for a while now and he has been nothing but cool with me i even purchase mods of him without any hassle what so ever iam has every right to press charges i'm sure hacking is a federal offence yours truly Djkanna :wink:
  2. Re: help...need to lower EXP I thought that ...... but if it works who can complain :?
  3. Re: Simple register edit Correct thats my perfered method lol
  4. Re: Simple register edit Simple but even i didn't know that when i started so usefull for us n00bs +1 mate :wink:
  5. Re: V2 Mainmenu Jeez every topic you two are always going at each other lol nice job yubi +1
  6. Re: [mccode v2] Brothel Non exploitable He's got a good point +1 killah
  7. Re: [All Versions] Mailing list, for games under development. Nice job +1
  8. Re: [Any Mccodes] Mailbox UPDATE! Good job Alan nice mod simple but good :wink: +1
  9. Re: Calling it a Day :) Have a good one and good luck in what ever you decide to do next djkanna :-)
  10. Re: [mccode] Cityname in Mainmenu well yeah lol +1 i forgot last time lol
  11. Re: [mccode] Cityname in Mainmenu i use my way lol but i agree with you on the slower bit lol
  12. Re: [mccode] Cityname in Mainmenu i tend to do it a different way same result like but yeah: $query = mysql_query("SELECT * FROM `cities` WHERE `cityid` = '".$ir["location"]."'"); $result = mysql_fetch_array($query); $location = $result["cityname"]; then explore goes like this [url='explore.php'] $location [/url] this can work anywhere correct like i put mine in explore page and can have the city name show up there like ie London Gangs lol nice work :wink: i have one for pics aswell which i think are posted on here lol
  13. Re: [V2] crystal Temple Nice Mod Sniko +1 :-D MrGi -- Always Helping lol
  14. Re: [mccode v2] Improved Robbery <?php include "globals.php"; $luck = ($ir['level']) / 5; $crew = ($ir['crewmembers']) / $luck; $cashearn = $crew * 3; switch($_GET['action']) { case "buy": buy(); break; case "buycrew": buycrew(); break; default: index(); break; } print "<h3>Robbery</h3> [i]Hook up a robbery to earn some cash.[/i] [i]You currently have {$ir['crewmembers']}. If you get more crew members this means there is a higher chance you succeed with more cash![/i]"; function index() { global $db, $ir,$i,$c,$userid,$h; if ($i['inv_item'] == 0) print " You dont have all the tools to do this yet!"; if ($r['cars_playerscars'] == 0) print "You Dont have a car!!!"; elseif ($i['inv_item'] == 98) if ($i['inv_item'] == 99) // The Items Numbers Here......EDIT THIS..you may add as many as you like... if ($i['inv_item'] == 100) if ($r['cars_playerscar'] == 1) print " [url='carbuy.php']Buy a Car[/url] [url='shops.php']Buy Your Tools Here[/url] [url='?action=buy']Buy Crew Members[/url] [url='?action=commit']Commit Robbery[/url] "; } function buy() { global $db, $ir,$c,$userid,$h; print "Buying an extra crew member for $1000 [url='?action=buycrew']Buy a crew member ($1000)[/url] "; } function buycrew() { global $db, $ir,$c,$userid,$h; print "Buying A Crew Member "; if($ir['money'] < '1000') { print "<font color=red>Error!</font> You dont have enough for the crew member you need 1000 dollars [url='index.php']Back Home[/url] "; } if($ir['money'] > '999') { print "<font color=green>Success!</font> You buy a crew member for 1000 Dollars"; $db->query("UPDATE users SET money=money-1000 WHERE userid=$userid"); $db->query("UPDATE users SET crewmembers=crewmembers+1 WHERE userid=$userid"); } } if($_GET['action'] == 'commit') { print "Commiting The Robbery "; $chance=rand(1,2); if ($chance == 1) { print "<font color=green>Success!</font> The robbery goes to plan and you earn {$cashearn}!, All your crew members leave you as well!"; $db->query("UPDATE users SET money=money+{$cashearn}, crewmembers=0 WHERE userid=$userid"); } if ($chance == 2) { print "<font color=green>Fail!</font> The robbery doesnt go to plan all your crew members were shot down by S.W.A.T, only you managed to flee away!"; $db->query("UPDATE users SET crewmembers=0 WHERE userid=$userid"); } } ?> Try this :wink:
  15. Re: [V2] Robbery Nice One +1
  16. Re: [mccode v2] Login and Register Pages Good job keep up the good work +1
  17. Re: [V2] Upgraded Brothel Thanks For That MrGi +1 Good Work Sniko +1
  18. Re: [mccode v2] House Images Nice Mod :-D :wink:
  19. Re: [mccode v2] Items Pic mod :-D
  20. Re: [mccode v2] Items Pic mod Sorry I Did Not Know :)
  21. Re: [mccode v2] Items Pic mod Hi, nice mod! I thought I could lend a hand with the item pics in inventory. find in inventory print "[b]Your items are listed below.[/b] <table width=100% class=\"table\" border=\"0\" cellspacing=\"1\"> <tr> <td class=\"h\">Item</td> <td class=\"h\">Sell Value</td> <td class=\"h\">Total Sell Value</td> <td class=\"h\">Links</td> </tr>"; Replace with this; print "[b]Your items are listed below.[/b] <table width=100% class=\"table\" border=\"0\" cellspacing=\"1\"> <tr> <td class=\"h\">Item</td> <td class=\"h\">Sell Value</td> <td class=\"h\">Total Sell Value</td> <td class=\"h\">Item Pic</td> <td class=\"h\">Links</td> </tr>"; Then Find print "</td><td>\${$i['itmsellprice']}</td><td>"; print "$".($i['itmsellprice']*$i['inv_qty']); replace with this print "</td><td>\${$i['itmsellprice']}</td><td>"; print "$".($i['itmsellprice']*$i['inv_qty']); print"</td><td>[img=itmpics/{$i[]"; save and upload :wink:
  22. Re: The Standards of CE Mod! Nice One Its About Time Somebody Puts Him In His Place God What The Hells His Problem I Dont Think There Is Anything Wrong With Finding A FREE Mod The Modding It A Bit And Re Post It. And Where The Hell Did He Get Hackers Helping Hackers Out. Doesn't Make Sense I Thought We Were Talking About Coding Anyway. And I Also Bet That 'KILLAH' Got Some Help When He/She Started To Code But Hes Such A Stuck Up **** That He Wont Help. //// Bet You Anything Hes Going To Go Find All His Old Posts And Copy And Paste Here Just To Prove He Helps People///// (** Sorry For Going Off Topic There.**) I Learnt To Code I'm Still Not The Best Coder But I'm Still Learning And Trying To Help People With There Games And Such, Why Can't You? **Thats Just My Thoughts *** Sorry If I Offended Anyone. Djkanna
  23. Re: Build Car {v2} and {v1} Also Wouldn't You Need To Edit The Monorail.php File As No One Is Going To Waste That Much Money On Buying Car Parts To Build A Car So They Can Travel When They Can Just Use The Monorail For Like $1000 Just A Thought :)
  24. Re: Build Car {v2} and {v1} <?php //Car Make Mod //Coded By MrGi //Made For Mccode V2 include "globals.php"; if($ir['jail'] or $ir['mechanic']) { echo("This page cannot be accessed while in jail or in the shop."); } if(!$_GET['spend']) { print "<h2>Personal Car</h2> [i]You can buy all you needs for your personal Car!You need this to travel![/i] [i]You may also build your car in our own personal garage.[/i] You Currently Have {$ir['parts']} Parts for your car. <table width=95% border=1> <th height=10%>Racing Parts</th><th height=10%>Price</th><th height=10%>Buy</th></tr> <td><center>Steering Wheel</td><td><center>$100,000</td><td><center>[url='partshop.php?spend=1']Purchase Upgrade[/url]</td></tr> <td><center>Transmission</td><td><center>$250,000</td><td><center>[url='partshop.php?spend=2']Purchase Upgrade[/url]</td></tr> <td><center>Body Kit</td><td><center>$750,000</td><td><center>[url='partshop.php?spend=3']Purchase Upgrade[/url]</td></tr><tr> <td><center>Gas Tank</td><td><center>$850,000</td><td><center>[url='partshop.php?spend=4']Purchase Upgrade[/url]</td></tr> <td><center>Custom Mufflers</td><td><center>$1,500,000</td><td><center>[url='partshop.php?spend=5']Purchase Upgrade[/url]</td></tr> <td><center>Nitrous Upgrade</td><td><center>$2,000,000</td><td><center>[url='partshop.php?spend=6']Purchase Upgrade[/url]</td></tr> <td><center>Headers</td><td><center>$2,500,000</td><td><center>[url='partshop.php?spend=7']Purchase Upgrade[/url]</td></tr> <td><center>Cam</td><td><center>$3,500,000</td><td><center>[url='partshop.php?spend=8']Purchase Upgrade[/url]</td></tr> <td><center>Turbo</td><td><center>$4,500,000</td><td><center>[url='partshop.php?spend=9']Purchase Upgrade[/url]</td></tr> </table> <table width=95% border=1> <th height=10%>Your Car</th><th height=10%>Build</th></tr> <td><center>Racing Car</td><td><center><a href='partshop.php'> Build Now</a></td></tr><tr></table>"; } else { if($_GET['spend'] == '1') { if($ir['money'] <999999) { print "You don't have enough money to buy this upgrade, Come Back when you have $100,000"; } else { $db->query("UPDATE users SET money=money-100000, parts=parts+1 WHERE userid=$userid",$c); print "Congratulations, You Bought the Steering Wheel. [url='partshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '2') { if($ir['money'] <249000) { print "You don't have enough money to buy this upgrade, Come back when you have $250,000"; } else { $db->query("UPDATE users SET money=money-250000, parts=parts+2 WHERE userid=$userid",$c); print "Congratulations, you Bought a Transmission! [url='partshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '3') { if($ir['money'] <749000) { print "You don't have enough money to buy this upgrade, Please Come back when you have $750,000!"; } else { $db->query("UPDATE users SET money=money-750000, parts=parts+3 WHERE userid=$userid",$c); print "Congratulations, you bought a Body Kit! [url='partshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '4') { if($ir['money'] <849000) { print "You don't have enough money to buy this upgrade, Please COme back when you have $850,000"; } else { $db->query("UPDATE users SET money=money-850000, parts=parts+4 WHERE userid=$userid",$c); print "Congratulations, you bought a Gas Tank! [url='partshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '5') { if($ir['money'] <1490000) { print "You don't have enough money to buy this upgrade, Please come back when you have $1,500,000"; } else { $db->query("UPDATE users SET money=money-1500000, parts=parts+5 WHERE userid=$userid",$c); print "Congratulations, you bought Some Custom Mufflers! [url='partshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '6') { if($ir['money'] <1999999) { print "You don't have enough money to buy this upgrade, Please Come back when you have $2,000,000!"; } else { $db->query("UPDATE users SET money=money-2000000, parts=parts+6 WHERE userid=$userid",$c); print "Congratulations, you bought a Nitrous Upgrade [url='partshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '7') { if($ir['money'] <2490000) { print "You don't have enough money to buy this upgrade, Please Come back when you have $2,500,000!"; } else { $db->query("UPDATE users SET money=money-2500000, parts=parts+7 WHERE userid=$userid",$c); print "Congratulations, you bought a New set of Headers! [url='partshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '8') { if($ir['money'] <3490000) { print "You don't have enough money to buy this upgrade, Please Come back when you have $3,500,000!"; } else { $db->query("UPDATE users SET money=money-3500000, parts=parts+8 WHERE userid=$userid",$c); print "Congratulations, you bought a New Cam! [url='partshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '9') { if($ir['money'] <4490000) { print "You don't have enough money to buy this upgrade, Please Come back when you have $4,500,000!"; } else { $db->query("UPDATE users SET money=money-4500000, parts=parts+9 WHERE userid=$userid",$c); print "Congratulations, you bought a Powerful Turbo System [url='partshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == 'car') { if($ir['parts'] <9) { print "You only have {$ir['parts']} Come back when you have all 9"; } else { $db->query("UPDATE users SET parts=parts-9, car=car+1 WHERE userid=$userid",$c); print "Congratulations, you built a car with all 9 Upgrades! [url='partshop.php']Back to Shop[/url] "; } } } } } } } } } } } } ?> Good Mod Tyler Wouldnt it Be Like This Tho?
  25. Re: Tutorial: v1 - v2 Conversion When I converted a v1 to a v2 I got this message: Fatal error: Cannot redeclare money_formatter() (previously declared in /global_func.php:2) in /global_func.php on line 5 Please can someone help , wow this is my first post. Thanks EDIT: I was a dumbass back then and hey I know know when my first post on here was I just used to be a lurker xD
×
×
  • Create New...