Jump to content
MakeWebGames

bladewolf2010

Members
  • Posts

    369
  • Joined

  • Last visited

Everything posted by bladewolf2010

  1. glad with one thing it leads into bigger disscussion :P
  2. Alright I'm still new at coding and learning :) I wanted to make sure about that. and would this slow your game down
  3. it does that every minute tho all admins are user level to so it'll fed them then it'll unfed all that are aloud right
  4. kind of pointless cause i have 5admins and if it unjailed and fedded them every minute wouldn't that slow my game down?
  5. I may be wrong but won't that auto fed admins aswell?
  6. function gang_staff() { global $db,$ir,$c,$userid,$gangdata,$mr; if($gangdata['gangPRESIDENT'] == $userid || $gangdata['gangVICEPRES'] == $userid || $userid==1 || $mr['gmUSER'] == $userid) { switch($_GET['act2']) { case "idx": gang_staff_idx(); break; case "apps": gang_staff_apps(); break; case "vault": gang_staff_vault(); break; case "vicepres": gang_staff_vicepres(); break; case "pres": gang_staff_pres(); break; case "upgrade": gang_staff_upgrades(); break; case "declare": gang_staff_wardeclare(); break; case "surrender": gang_staff_surrender(); break; case "viewsurrenders": gang_staff_viewsurrenders(); break; case "crimes": gang_staff_orgcrimes(); break; case "massmailer": gang_staff_massmailer(); break; case "desc": gang_staff_desc(); break; case "ament": gang_staff_ament(); break; case "name": gang_staff_name(); break; case "tag": gang_staff_tag(); break; case "managers": gang_staff_managers(); break; case "setmanager": gang_staff_setmanager(); break; case "delmanager": gang_staff_delmanager(); break; case "masspayment": gang_staff_masspayment(); break; default: gang_staff_idx(); break; } } else { print "Get out of here j00 cheater."; } }
  7. hold on I got ya let me find it   EDIT Donations
  8. Thanks, Could you help me with the other error?
  9. 90-95   <table cellspacing=1 class='table'><tr style='background:gray;'><td align=center class='h'>Gang Announcement</td></tr> <tr><td bgcolor='#DDDDDD'>{$gangdata['gangAMENT']}</td></tr></table> [b]Last 10 Gang Events[/b] "; $q=$db->query("SELECT * FROM gangevents WHERE gevGANG={$ir['gang']} ORDER BY gevTIME DESC LIMIT 10"); print "<table width=75% cellspacing=1 class='table'><tr style='background:gray;'><th>Time</th><th>Event</th></tr>"; while($r=$db->fetch_row($q))   Error Fatal error: Call to a member function query() on a non-object in /home/*********/public_html/yourgang.php on line 93     NEW 50-60   case "warview": gang_warview(); break; case "staff": gang_staff(); break; case "leave": gang_leave(); break;     Error Fatal error: Call to undefined function gang_staff() in /home/*******/public_html/yourgang.php on line 55   Help if you can Please no flaming, I know i'm a noob and it's prob a simple error but I don't know >.<
  10. Alright thank you Crim
  11. How do you make an image a link aswell?
  12. what be the codes for the staff panel :P
  13. it still lets them do attacks when there fatigue gets full :/
  14. I'm interested in what sniko said. I'd love to see/use that.
  15. Alright look, I was being childish okay just drop the topic.. please and thank you
  16. okay thank you danny
  17. If 3years is = to 6months then cool.. go back elementary mate, learn your months and years
  18. How do you add blogs?
  19. it doesn't stop them from attacking on my end
  20. how do you make it rand?
  21. Looks good thanks :) It doesn't stop them from attacking how do i make it work so they can't attack? it just keeps adding 25 over nd over I changed 10 to 25 by the way.. heres my attack.php   <?php $menuhide=1; $atkpage=1; include "globals.php"; $_GET['ID'] == (int) $_GET['ID']; if(!$_GET['ID']) { print "WTF you doing, bro?"; $h->endpage(); exit; } if ($ir['fatigue'] == 100) { echo 'You cannot attack at this time, your just to tired.'; $h->endpage(); exit; } else if($_GET['ID'] == $userid) { print "Only the crazy attack themselves."; $h->endpage(); exit; } else if ($ir['hp'] <= 1) { print "Only the crazy attack when their unconscious. [url='index.php']Back[/url]"; $h->endpage(); exit; } else if ($_SESSION['attacklost'] == 1) { print "Only the losers of all their EXP attack when they've already lost. [url='index.php']Back[/url]"; $_SESSION['attacklost']=0; $h->endpage(); exit; } if ($ir['fatigue'] == 100) { echo 'You cannot attack at this time, your just to tired.'; $h->endpage(); exit; }   and heres the link part   print "<font color=red>{$_GET['nextstep']}. You tried to hit {$odata['username']} but missed ({$odata['hp']})</font> \n"; $_SESSION['attacklog'].="<font color=red>{$_GET['nextstep']}. {$ir['username']} tried to hit {$odata['username']} but missed ({$odata['hp']})</font> \n"; } if($odata['hp'] <= 0) { $odata['hp']=0; $_SESSION['attackwon']=$_GET['ID']; $db->query("UPDATE users SET hp=0 WHERE userid={$_GET['ID']}"); $db->query("UPDATE `users` SET `fatigue` = `fatigue` + 25 WHERE `userid` = $userid"); print " [b]What do you want to do with {$odata['username']} now?[/b] <form action='attackwon.php?ID={$_GET['ID']}' method='post'><input class='textbox' type='submit' value='Mug Them' /></form> <form action='attackbeat.php?ID={$_GET['ID']}' method='post'><input class='textbox' type='submit' value='Hospitalize Them' /></form> <form action='attacktake.php?ID={$_GET['ID']}' method='post'><input class='textbox' type='submit' value='Leave Them' /></form>"; }
  22. It don't matter.. I just want to do what I always wanted to since I was a child and I wanna do it the legal way..
  23. Erm... -__- Wasn't demanding it right away.. Just thought it'd be quicker on here..
×
×
  • Create New...