Brad
Members-
Posts
173 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Brad
-
i have a 2 sided header which was posted by danny
-
what do you mean for the header or something else im new and dont know lol
-
[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(); ?>
-
------
-
nice
-
no they 90% of the donation 10% on the hosting and the domain i dont want any
-
Nothing much it just another co-owner and coder
-
Im looking for someone to own my site reply her or private msg me.
-
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
-
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
-
But thanks it may help other users
-
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
-
Cheers Navry thanks alot
-
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
-
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. :)
-
cant i get a one year free hosting with no sign up fee's
-
damm i cant pay no creit card
-
do you know of any free hosting with no sign up fee
-
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
-
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
-
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
-
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