Jump to content
MakeWebGames

Blackdogg

Members
  • Posts

    85
  • Joined

  • Last visited

    Never

Everything posted by Blackdogg

  1. Re: Level specific items ok i went off this mod for a while but thought id give it another go maybe if i explain abit clearer what i want someone might help me :) I already have the mod for items needed for crimes now what i want is to make items for specific lvls for specific crimes. now you dont actually use the item needed for the crime you just need it in your inventory so how can i stop a lvl 10 player having a lvl 20 item
  2. Re: [MCCODE V2] User Competitions Did anyone ever get this working im trying to work on it but not getting very far lol
  3. Re: [MC-Codes][V2]Thugs (core system) I dont know if this has happened to anyone else but one you buy your hideout then purchase a thug then by pressing back on the browser screen it gives everyone in the game a 20 digit or more amount of money
  4. Re: Level specific items so why dont you share your bit of coding with us then :)
  5. Re: [MCCODES ALL] IE8 Fix for visual Errors would something like this work for firefox to as my game doesnt like people who use firefox they cant equip items (just says invalid item id) and does triple posts in the forum and opera does double posts in forums and mails and such like ??
  6. Hi everyone i was just wondering if it was possible to be able to add items to the game that would only be useable by users over a certain level and if anyone can help me with the coding of it. Im guessing you would put a snippet of code into the itemuse.php or inventory.php something like if ($i['itmid'] == **&($i['level']>**) { print " [<a>Use</a>]";   Or am im completley utterly and totaly going in the wrong direction lol :roll:
  7. Re: [mccode v2] Item needed to perform crime. Well i know this is an old mod but ive just installed it and id like to show my appreciation for the coder if he is still around Thanks mate i love it
  8. Re: [McCodes v2] ($3) Database driven voting script with incentive and security Ok where do i start First of all this is an excellent script that makes life hell of alot easier to add voting sites and rewards Secondly this guy is amazingly helpfull, helped me with a problem that didnt even have anything to do with his mod Also i have just recieved a update for this mod A****** for this guy
  9. Re: forum posts thank you very much you my friend are an a* guy +1 for you :)
  10. Re: forum posts Yeah im using the standard mc codes forum if thats any help :)
  11. Re: forum posts all im getting is a blank page :( also when i use requireonce it comes up as an undefined function error
  12. Re: forum posts ok ive probably gone about this all wrong but am i anywhere near when i use this code <?php /** * @author Blackdogg * @copyright 2009 */ include "globals.php"; switch($_GET['action']) { case "forum": forum(); break; } function forum() { global $db,$ir,$c,$userid, $myf; print "Showing the last 10 forum posts <table width=75% cellspacing=1 class='table'><tr style='background:gray'> select topic from forum_topics order by last_post_date desc limit 10 "; } print "</table>"; ?> ive put a link onto the homepage to take you to a new page (code above) Be gentle with me im still learning :p
  13. Does anyone have a mod that when clicked shows the last 10 active topics in the forums :)
  14. Re: [MCCODE V2] User Competitions   No it wont first off if($ir['money'] < 500000) { die("You don't have enough money. You need \$100,000."); }   2 totally different amounts secondly print "<h3> Create A Competition </h3> <form action='creategang.php' method='post'><input type='hidden' name='submit' value='1' /> This is going to create a gang page :P
  15. Re: Thank a CE mccode Mod Developer Day Well i will say a big THANK YOU for the help ive kind of recieved lol
  16. Re: DJ Control Center Ok WARNING STUPID QUESTION ALERT Where do you get the music from to play on the radio you set up??
  17. Re: [mccodes V2] Donation Mod. Can you add more than one item to each pack or can you just give out several of the same item ?? cheers Bd
  18. Re: [mccode v2] Updated Newspaper - more than one page magictallguy he created several multis on y game and spammed loads of my users
  19. Re: [mccode v2] Updated Newspaper - more than one page Watch this guy he likes to spam games :x
  20. Re: [mccode] Buy A House With Level Requirements ! hmmm this is the code that i have <?php include "globals.php"; $mpq=$db->query("SELECT * FROM houses WHERE hWILL={$ir['maxwill']}"); $mp=$db->fetch_row($mpq); $_GET['property']=abs((int) $_GET['property']); if($_GET['property']) { $npq=$db->query("SELECT * FROM houses WHERE hID={$_GET['property']}"); $np=$db->fetch_row($npq); if($np['hWILL'] < $mp['hWILL']) { print "You cannot go backwards in houses!"; } else if ($np['hPRICE'] > $ir['money']) { print "You do not have enough money to buy the {$np['hNAME']}."; } if($ir['hLevel'] > $ir['level'] ) { print "You Are Not The Level Required Yet"; } else { $db->query("UPDATE users SET money=money-{$np['hPRICE']},will=0,maxwill={$np['hWILL']} WHERE userid=$userid"); print "You Baught {$np['hNAME']} ."; } } else if (isset($_GET['sellhouse'])) { $npq=$db->query("SELECT * FROM houses WHERE hWILL={$ir['maxwill']}"); $np=$db->fetch_row($npq); if($ir['maxwill'] == 100) { print "You already live in the lowest property!"; } else { $db->query("UPDATE users SET money=money+{$np['hPRICE']},will=0,maxwill=100 WHERE userid=$userid"); print "You sold your {$np['hNAME']} and went back to your Trailer."; } } else { print "<center>Your current property: <font color=blue>[b]{$mp['hNAME']}[/b]</font> The houses you can buy are listed below. Click a house to buy it. "; print "[url='estate.php?sellhouse']Sell Your House[/url] "; if($ir['willmax'] > 100) { } $hq=$db->query("SELECT * FROM houses WHERE hWILL>{$ir['maxwill']} ORDER BY hWILL ASC"); while($r=$db->fetch_row($hq)) { print " <table cellspacing=2 class='table'><tr style='background:gray;'><th>House</th><th>House Price</th><th>House Will</th><th>House Level</th><th>Buy?</th></tr>"; $hq=mysql_query("SELECT * FROM houses WHERE hWILL>{$ir['maxwill']} ORDER BY hWILL ASC",$c); while($r=$db->fetch_row($hq)) { print "<tr><td>{$r['hNAME']}</a></td><td>\$$t".money_formatter($r['hPRICE'],'')."</td> <td>{$r['hWILL']}</td><td>{$r['hLEVEL']}</td> <td><a href='estate.php?property={$r['hID']}'>Buy</tr>"; } print "</table>"; } } $h->endpage(); ?>
  21. Re: [mccode] Buy A House With Level Requirements ! Thats all well and good but how do i get this mod to work lol :mrgreen:
  22. Re: [mccode v2] User Comments Ok just wondering if anyone had a delete comments function for this mod the only way i can do it at the mo is through phpmyadmin which is a right pain in the ass lol
  23. Re: [mccode] Battle Arena [$20] is there any way you can add a staff functions for this mod as id like to be able to edit the amount of time the battle runs for and maybe add a prize for the person who gets the most wins.
  24. Re: [mccode] Buy A House With Level Requirements ! this is still letting me buy houses above my users lvl :?
  25. Hi i have a great idea for a new gang mod idea but i dont have the skill to do it as im still pretty useless lol. I would like to discuss it in private first if you dont mind to see if you think its a good mod personally i think it could be a sellable mod which the creator would get full rights to as long as i get the first copy so only serious coders need contact me cheers Blackdogg
×
×
  • Create New...