
HITMAN 17
Members-
Posts
1,145 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by HITMAN 17
-
Re: [mccode] Gangs who cares mate just end this yer ill stop begging you stop moaning fair
-
Re: [mccode] Gangs gal dude im not begging im asking theres a difference also im willing to pay if someone does oc like torncity
-
Re: [mccode] Gangs i was just wondering if you are going to finish this mod with organised crimes please can you do it please
-
Re: [mccode v2] Fishing Mod ino it is great +1 bud i converted it as well
-
Re: [mccode v1]Starter Pack Item i need it to bring a (1)Events as its not doing it on that mod
-
Re: [mccode v1]Starter Pack Item ok i need a little help as on some of my mods i dont get +1 events whats the code for this
-
Re: [mccode v1] User Rating what the viewuser.php part for this one
-
Re: [mccode v2] Fishing Mod can be seen working here nice mod mate www.chavsterv1.co.cc
-
Re: [MCV1]Crimes Need An Item lol ok im not asking for much but can you give me the crime file part please not the sql the actual code like you would do it
-
Re: [MCV1]Crimes Need An Item lol well i would make it myself if i new what files to edit and some examples
-
[mccode] Travel Agency Advanced [$15.00]
HITMAN 17 replied to Haunted Dawg's topic in Paid Modifications
Re: [mccode] Travel Agency Advanced [$15.00] i will buy this mate is that ok thanks -
Re: [MCV1]Crimes Need An Item ok emm could you like make it mate shaved as i know your mods are really great and you are learning fast if you could do this great
-
Ok guys this is a request as i have just joined a game and seen that on crimes there is an item needed to do a crime if i wanted to do this how would i do this what would the code be where would i put it and is there any sql for it
-
Re: [mccode v1]Starter Pack Item right i need a little help maybe someone like nyna can help how can i make it update and give the user a +1 event
-
Re: [mccode v1]Starter Pack Item ok you need to add an event notification and the error also it does not delete this item so basically people can reuse it
-
Re: [mccode v1]Starter Pack Item I dont think this is the full code
-
Re: [mccode] Random Comment i tryed adding it all i get is a line saying echo "Admin [1] Says:"; = rand(1,3); if( == 1); { echo "Enjoy the game and please donate"; } elseif( == 2); { echo "Enjoy playing & Remember to vote!"; } elseif( == 3); { echo "Thanks For Signing Up!"; }
-
Re: [mccode] Random Comment where abouts in header
-
Re: [mccode v1] Mccodes V1 Jail I Was Just Wondering if instead off raand it like the one on mccodes v2 can someone do it like that please i might consider paying as well
-
Re: [mccode] Jail Key anyone help me fix this please
-
Re: [mccode] Jail Key nope Parse error: syntax error, unexpected T_ELSE in /home/*******/public_html/itemuse.php on line 73
-
Re: [mccode] Jail Key Parse error: syntax error, unexpected T_ELSE in /home/*****/public_html/itemuse.php on line 73 my code is <?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); $_GET['ID'] = abs((int) $_GET['ID']); //Food if(!$_GET['ID']) { print "Invalid use of file"; } else { $i=mysql_query("SELECT iv.*,i.*,it.* FROM inventory iv LEFT JOIN items i ON iv.inv_itemid=i.itmid LEFT JOIN itemtypes it ON i.itmtype=it.itmtypeid WHERE iv.inv_id={$_GET['ID']} AND iv.inv_userid=$userid",$c); if(mysql_num_rows($i) == 0) { print "Invalid item ID"; } else { $r=mysql_fetch_array($i); } if($r['itmtypename'] == 'Food') { $f=mysql_query("SELECT * FROM food WHERE item_id={$r['itmid']}",$c); $fr=mysql_fetch_array($f); mysql_query("UPDATE inventory SET inv_qty=inv_qty-1 WHERE inv_id={$_GET['ID']}",$c); mysql_query("DELETE FROM inventory WHERE inv_qty=0",$c); mysql_query("UPDATE users SET energy=energy+{$fr['energy']} WHERE userid=$userid"); mysql_query("UPDATE users SET energy=maxenergy WHERE energy > maxenergy"); print "You cram a {$r['itmname']} into your mouth. You feel a bit of energy coming back to you."; } else if($r['itmtypename'] == 'Medical') { $f=mysql_query("SELECT * FROM medical WHERE item_id={$r['itmid']}",$c); $fr=mysql_fetch_array($f); mysql_query("UPDATE inventory SET inv_qty=inv_qty-1 WHERE inv_id={$_GET['ID']}",$c); mysql_query("DELETE FROM inventory WHERE inv_qty=0",$c); mysql_query("UPDATE users SET hp=hp+{$fr['health']} WHERE userid=$userid"); mysql_query("UPDATE users SET hp=maxhp WHERE hp > maxhp"); if($r['itmname'] == 'Full Restore') { mysql_query("UPDATE users SET energy=maxenergy,will=maxwill,brave=maxbrave WHERE userid=$userid",$c); } } if($r['itmname'] == 'Jail Key') { mysql_query("UPDATE inventory SET inv_qty=inv_qty-1 WHERE inv_id={$_GET['ID']}",$c); mysql_query("DELETE FROM inventory WHERE inv_qty=0",$c); mysql_query("UPDATE users SET jailtime=0 WHERE userid=$userid",$c); } print "You use the {$r['itmname']} and insert into the lock and make a run for it."; } else { print "You cannot use this item."; } if($r['itmname'] == 'Will Potion') { mysql_query("UPDATE users SET will=maxwill WHERE userid=$userid",$c); } print "You spray a {$r['itmname']} into your mouth. You feel a bit of health coming back to you."; } else { print "You cannot use this item."; } } } $h->endpage(); ?>
-
[mccode] Crystal Market - Buy Amount of Crystals, Not All
HITMAN 17 replied to hobbes's topic in Free Modifications
Re: Crystal Market - Buy Amount of Crystals, Not All this works for my v1 version -
Re: Log in screen :) ok changed it
-
Re: Log in screen :) what the hell my font color is already white