Brad Posted April 25, 2010 Share Posted April 25, 2010 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 Quote Link to comment Share on other sites More sharing options...
Danny696 Posted April 25, 2010 Share Posted April 25, 2010 Ill make one give me 2 mins Quote Link to comment Share on other sites More sharing options...
Brad Posted April 25, 2010 Author Share Posted April 25, 2010 Cheers Navry thanks alot Quote Link to comment Share on other sites More sharing options...
Danny696 Posted April 25, 2010 Share Posted April 25, 2010 <?php @include_once(DIRNAME(__FILE__) .'/sglobals.php'); $get_items = $db->query("SELECT * FROM `items`;"); echo'<table width="90% class="table"> <tr> <th>Name</th> <th>Type</th> <th>Buy Price</th> <th>Sell Price</th> <th>Effects</th> <th>Attack</th> <th>Defence</th> </tr>'; while($item = $db->fetch_row($get_items)) { $type = @mysql_result($db->query("SELECT `itmtypename` FROM `itemtypes` WHERE (`itmtypeid` = ". $item['itmid'] .");"); $effects = 0; if($item['effect1_on']) { $effects++; } if($item['effect2_on']) { $effects++; } if($item['effect3_on']) { $effects++; } echo'<tr> <td>'.htmlspecialchars(stripslashes($item['itmname'])).'</td> <td>'.htmlspecialchars(stripslashes($type)).'</td> <td>'.money_formatter($item['itmbuyprice']).'</td> <td>'.money_formatter($item['itmsellprice']).'</td> <td>There are: '.$effects.' effects on this</td> <td>'.number_format($item['weapon']).'</td> <td>'.number_format($item['armor']).'</td> </tr>'; } echo'</table>'; echo'[size="1"]Made by Danny696-Navry[/size]'; $h->endpage(); ?> Basic but works *not tested tho* Quote Link to comment Share on other sites More sharing options...
Brad Posted April 25, 2010 Author Share Posted April 25, 2010 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 Quote Link to comment Share on other sites More sharing options...
Brad Posted April 25, 2010 Author Share Posted April 25, 2010 But thanks it may help other users Quote Link to comment Share on other sites More sharing options...
Danny696 Posted April 25, 2010 Share Posted April 25, 2010 This is just a table that lists the items :/ Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted April 25, 2010 Share Posted April 25, 2010 why are you spelling it like iTEAM? it's item... Quote Link to comment Share on other sites More sharing options...
DISTORTED Posted April 25, 2010 Share Posted April 25, 2010 why are you spelling it like iTEAM? it's item... LMAO Quote Link to comment Share on other sites More sharing options...
Djkanna Posted April 25, 2010 Share Posted April 25, 2010 I think he wants a list of weapons for his game. Like Name: Carl Gustav Model 45 Length: 31.8" (808mm) Weight: 7.62lb (3.45kg) Barrel: 8.0" Calibre: 9mm Rifling: 6 groove r/hand Feed: 36/50-round box C. Rate: 600rpm Muz Vel: 1210 f/s (369 m/s) Sights: 328 yds (300m) If so, just Google a list of weapons and you've got it! Quote Link to comment Share on other sites More sharing options...
sniko Posted April 25, 2010 Share Posted April 25, 2010 http://en.wikipedia.org/wiki/List_of_firearms ^ A pretty decent list there ^ - sniko Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.