Jump to content
MakeWebGames

Brad

Members
  • Posts

    173
  • Joined

  • Last visited

Everything posted by Brad

  1. i have a 2 sided header which was posted by danny
  2. what do you mean for the header or something else im new and dont know lol
  3. Brad

    Guards

    Thanks Danny & Sniko
  4. Brad

    Guards

    [align=left]Ok i have made this mod for guard in your iteams i made it from reading lots from these forums like 30 pages but not up two 30 and anyway.[/align]   [align=left]Dont do bad comments it's my first full page mod.[/align]   [align=left]If there are bugs post them and i will fix them or fix them yourseld xD[/align]     [align=left]You will have to change the iteam id i have set it as id 1 and name it guards it will set you money to 0 you can change and your Will, Energy, Brave and Exp thanks and enjoy.[/align] [align=left]It has not been tested[/align] Call this guards.php <?php include "globals.php"; //Mod created by HMS from MWG & Cleaned up by Sniko from MWG //Variables $gid = 1; //The iteam Id $mintime = 150; //The min hospital time $maxtime = 350; //The max hospital time print'<h2> Command Guards </h2>'; $query=$db->query("SELECT `inv_itemid` FROM `inventory` where `inv_itemid` = $gid && `inv_userid` = $userid"); $i=$db->fetch_row($query); if(!$i['inv_itemid'] == $gid) { echo "Invalid Item"; exit; } if(!isset($_POST['ID'])) { echo "<form action='Guard.php' method='post'> User id: <input type='text' name='ID' /> User: ".user_dropdown($c,'user')." <input type='submit' value='Command' /> </form>"; } else { $_POST['ID'] = abs(floatval($_POST['ID'])); $maxMembs = $db->fetch_row($db->query("SELECT COUNT(`userid`) AS `u` FROM `users`")); if($_POST['ID'] > $maxMembs['u']) { echo "Invalid user!"; $h->endpage(); } $ht = mt_rand($mintime,$maxtime); $db->query("UPDATE `users` SET `hp`=0, `will`=0, `brave`=0, `exp`=0, `energy`=0, `money`=0, `hospital`={$hosptime}, `hospreason`='The person who set there guards on you was <a href=\'viewuser.php?u={$userid}\'>{$ir['username']}</a>' WHERE `userid`={$_POST['ID']}"); event_add($_POST['ID'],"[url='viewuser.php?u=$userid']{$ir['username']} [{$ir['userid']}][/url] Set his bodyguards on you. Next time you will learn to put your money in a bank. </a> ",$c); item_remove($userid, $gid, 1); echo "You have just commanded your guard to attack the user!! ."; } $h->endpage(); ?>
  5. no they 90% of the donation 10% on the hosting and the domain i dont want any
  6. Nothing much it just another co-owner and coder
  7. Im looking for someone to own my site reply her or private msg me.
  8. It didt work on my site i saved the pic in the name you said they didt come up and the login didt work can you fix it. May only work on your site
  9. Year i know and they pay $10 for that thing but donator days on edit user they are easy when you n=work it out or just some help
  10. But thanks it may help other users
  11. mate i have the code to make iteams on my site i was on about do you have a list of iteam you can just add one by on readding the list
  12. Cheers Navry thanks alot
  13. Does anyone have a iteam list with Iteam Name Iteam Type Iteam Price Iteam Sell Price If there is an effect Combat Usage Weapon Power Armor Defense   If you have one or can make one for me that will be great really just want wepons and armor. Thanks
  14. I hear people sell this but i dont have money to buy it so i just made it this is very easy not worth $5 that is just pointless pay for it you dont need to pay it's like the easyest and i not that good a php coding but i do ok. This very easy to do it may come in handy. Made by me Go on staff_users.php Find: Crystals: <input type='text' name='crystals' value='{$itemi['crystals']}' />   Add under: EXP: <input type='text' name='exp' value='{$itemi['exp']}'' />     Find: if(!isset($_POST['login_name'])) { $go=1; }   Add under: if(!isset($_POST['exp'])) { $go=1; }     Find: $_POST['forumban']=(int) $_POST['forumban'];   Add under: $_POST['exp']=(int) $_POST['exp'];     Find: $db->query("UPDATE users SET username='{$_POST['username']}'   Add next to: , exp={$_POST['exp']}         There you go should be no bug but if there are post here or if it dont work pst here. Or msg me and i will get it working for you. :)
  15. Brad

    mccodes lite

    cant i get a one year free hosting with no sign up fee's
  16. Brad

    mccodes lite

    damm i cant pay no creit card
  17. Brad

    mccodes lite

    do you know of any free hosting with no sign up fee
  18. I have the mccodes lite i have the files but what do i do after a_bertrand edit: no need for all those bold texts... thanks
  19. does anyone have any template with all the stuf on mccodes lite but there own what i can have and my pay will be your game is on my game for an ad forever and you can ad or i will message me with tthe download
  20. This is what i need doing for my site if anyone can help I need that and the admin panle and helper panle and stats and all of the below on there everything there i need well all the basic for an mafia game + gangs+ donating+vote page were i can just add the site in my code or admin panle and you can have alll my donation but my hosting every time it needs doing and you have admin or you can just have the donation but my hosting when it needs doing or you can do it for free and have admin or join do it for free   This is no my site it is an example of part of what i need
  21. what do i do with them were do i put them     http://www.bravenations.com/login.php http://www.bravenations.com/login1.php http://www.bravenations.com/login2.php
×
×
  • Create New...