EvoX Posted September 25, 2007 Share Posted September 25, 2007 I recently bought Cronus' Armoury Mod [v1] and with his permission successfully converted it to V2. However, my inventory now will not allow me to, "equip" a primary weapon, secondary weapon, or even armour. If anyone could help with this, that would be great. Thankyou in advance. ---------------------------------------------------------- <?php include "globals.php"; $gq=mysql_query("SELECT g.*,oc.* FROM gangs g LEFT JOIN orgcrimes oc ON g.gangCRIME=oc.ocID WHERE g.gangID={$ir['gang']}",$c); $gangdata=mysql_fetch_array($gq); $inv=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_userid={$userid} ORDER BY i.itmtype ASC, i.itmname ASC",$c); if (mysql_num_rows($inv) == 0) { print "You have no items!"; } else { print "Your items are listed below. Item Sell Value Total Sell Value Links $lt=""; while($i=mysql_fetch_array($inv)) { if($lt!=$i['itmtypename']) { $lt=$i['itmtypename']; print "\n{$lt}"; } print "{$i['itmname']}"; if ($i['inv_qty'] > 1) { print " x{$i['inv_qty']}"; } print "\${$i['itmsellprice']}"; print "$".($i['itmsellprice']*$i['inv_qty']); print "[Info]"; if($i['inv_lent'] == 0) { print" [Send] [Sell] [Add To Market] [Merge Items]"; } if($ir['gang']>0 && $gangdata['gangARMORY']==1 && $i['inv_lent']==0) { print " [Donate To Gang]"; } if($ir['gang']>0 && $gangdata['gangARMORY']==1 && $i['inv_lent']>0) { print " [Give Back]"; } if($i['itmtypename'] == 'Food' || $i['itmtypename'] == 'Medical' || $i['itmtypename'] == 'Donator Pack') { print " [Use]"; } if($i['itmname'] == 'Nuclear Bomb') { print " [Use]"; } print ""; } print ""; } $h->endpage(); ?> 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.