Jump to content
MakeWebGames

CraigF

Members
  • Posts

    597
  • Joined

  • Last visited

    Never

Everything posted by CraigF

  1. Re: HOUSE TAX!!!! thankyou!
  2. Re: HOUSE TAX!!!!   Your attitude and how you talk to people you hope will help you sucks. I could and would have done this until i scrolled down to that message. Now all i have to say is: Do it yourself Thats exactly how i thought.   I was going to do it i was just about to copy the code to edit it until i seen this message. This is why i dont come on much more! Im going soon so i am sure you didnt mean it to sound like you did therefore i will forgive you. Just make sure you say sorry in your next post!   <?php include "mysql.php"; global $c; include "global_func.php"; //House Tax Update $uq=mysql_query("SELECT * FROM users"); $Row=0; while($r=mysql_fetch_array($uq)) { $will = $r['maxwill']; $hq=mysql_query("SELECT * FROM houses WHERE hWILL='{$will}'"); if(mysql_num_rows($hq) == 0) { } $r2=mysql_fetch_array($hq); $ymny=$r['money']+$r['bankmoney']; if($ymny < $r2['hTAX']) { $money=$r['money']; event_add($r['userid'],"You failed to pay the house tax, so you have lost your house.",$c); mysql_query("UPDATE users SET money=money+{$r2['hPRICE']}, maxwill=100, willmax=100, will=100 WHERE userid={$r['userid']}"); } else { mysql_query("UPDATE users SET bankmoney=bankmoney+'{$ir['money']}' WHERE userid='{$r['userid']}'"); mysql_query("UPDATE users SET bankmoney=bankmoney-'{$r2['hTAX']}' WHERE userid='{$r['userid']}'"); event_add($r['userid'],"We banked your money and at the same time took the house tax you owe us.",$c); } $Rows++; } ?> Totally there were <?php print($Rows); ?> rows which were executed.   that should work
  3. Re: Is There Anyway I Can Change The Levels From 1 2 3.. To Like Scumbag, Civili   Yeah, you seem a cool guy =] You make a good mod
  4. Re: Is There Anyway I Can Change The Levels From 1 2 3.. To Like Scumbag, Civili   THats what i suggested at first, exactly that except for it was print "Scum"; not echo "Scum"; lol
  5. Re: help big problem can not find where it is coming from virsion?
  6. Re: RITE!!, Everyone's Wish Has Been Granted!!!   i learnt php from purely looking at the mccode and trying my best and only asking for help if i have tried 100 times and cant do a little bit myslef
  7. Re: Is There Anyway I Can Change The Levels From 1 2 3.. To Like Scumbag, Civili if ($ir['level'] == 1) { ///$ir['rank'] varible equals scum mysql_qry=UPDATE users SET rank=Scum } but obviously with the mysql query right
  8. Re: Is There Anyway I Can Change The Levels From 1 2 3.. To Like Scumbag, Civili i meant make a part of the table called Rank aswell though =]
  9. Re: Is There Anyway I Can Change The Levels From 1 2 3.. To Like Scumbag, Civili i havent looked at php code for a month now lol but if i understand what your saying code would be something like this: if ($ir['level'] == 1) { $ir['rank'] == Scum } OR if ($ir['level'] == 1) { print "Scum"; }
  10. Re: No Database Selected yeah it was there, its fixed now thanks. what it was is that i didnt have my username infront of the database name
  11. Re: No Database Selected that may be true, but i am sure it is right, i will try something, one second
  12. Re: No Database Selected my mysql.php is right, i have redone it and its totaly correcty im sure. and i have delted a Database and made a new one, it should be working but it isnt
  13. My authenticate is fine, mysql.php is fine, my game was fine before but then my host was screwed up, so i had to redo it al, but the files are just the same, the database name is the same, the mysql.php fits it all, and there are no errors in the register.php or anything, but when i log in it says "No Database Selected" n00b question but please help guys! Thanks, Kraig
  14. Re: [v1][FREE] Gang Welcome Message   wtf you advertising in here
  15. Re: [Free] [V1] Random Explore Mod   what he has there should work: $currentmoney=$ir['money']; $currentenergy=$ir['energy']; $rand=rand(1,10); $randd=rand(1,10); $moneyfound=$rand*$randd; $new=$currentmoney+$moneyfound; $energy=$currentenergy-1; see?
  16. Re: Auction error i smell ilegal mods?
  17. Re: RITE!, IM GONNA BUY A HOSTER, PLZ HELP!?!?!?!?!?! mail oxidati0n, his is around that price i think it is $5 a month and its amazing
  18. Re: [TGM] User Shops Mod [TGM] Thankyou cronus for posting this, and your service must be very good. I think its Arsons mod? well i think it is great, i seen it on Mercs-Online and it is a AMAZING add on to your game for donators sure to get you more donators, the price is perfect for it $30 is not much, its Perfect for what it is
  19. Re: HELLLLLLLLLLLLLLLLLLLLLPPPPPPPPPPP!!!!!!!!!!!!!!!!!!!!!!!!!!!!11 lol! just in PHPMYADMIN click on your table name at the left of the screen, then in the middle of the page when it loads it will have SQL, click it, you then come to a page where yo can type stuff in, copy your SQL.txt file you got with the codes and paste it all into there and submit it! YOUR DONE
  20. Re: [TGM] Crystal Gym [TGM]   i have had that in my game for a while lol
  21. Re: [TGM] Crystal Gym [TGM]   lol i was joking when i said you scam! see the ;) ? lol! i like you i know you dont scam! it was a compliment! and why wouldnt you sell me mods?
  22. Re: [v1][FREE] Gang Welcome Message   lol, well that would be easy if you just change it a little, im sure you can do it
  23. Re: Night Club MOD Here IS What People Are Looking For LOL!!!! That is not a mod, that is just a normal file, you need other files to make it a mod, things that are actually coded not just written
  24. Re: [TGM] Crystal Gym [TGM]   because Cronus made it so people are like "OMG IT MUST BE A GREAT ADD!" before even reading what it is and realising what they just bought. He is smart, That is his scam isnt it cronus ;)
  25. Re: is ther any good free webhodt sites with cpanel 11 and cron jobs cPanel 11 is now on justfreespace
×
×
  • Create New...