boionfire81 Posted June 21, 2016 Posted June 21, 2016 (edited) 1,2,3,4,5,6,7,8,9,10 Edited November 24, 2016 by boionfire81 Quote
NonStopCoding Posted June 24, 2016 Posted June 24, 2016 Ok, I figured out you have to select a category first. BUT it still will only list the first item. Also, with cronus gang armory I need to add the following 5. Find the following lines in your current inventory.php(around line 97-100): if($i['armor']) { print " [<a href='equip_armor.php?ID={$i['inv_id']}'>Equip as Armor</a>]"; } After it, add: $ujk=$db->query("SELECT * FROM loaned WHERE nUSER=$userid && nITEM={$i['itmid']} LIMIT 1",$c); $howmany=$db->num_rows($ujk); if($gangdata['gangARMORY'] > 0 && $howmany == 0) { print" [<a href='armory.php?action=donate&ID={$i['inv_id']}'>Donate To Gang</a>]"; } if($howmany > 0) { $lnd=$db->fetch_array($ujk); print" [<a href='armory.php?action=return&ID={$lnd['nID']}'>Return To Gang</a>]"; } Which messes up the inventory and nothing shows. Anyone know how to get ahold of the mod developer? For $20, this thing needs to work. [uSER=65371]sniko[/uSER] it says special thanks to you in the mod. Can you help? looks like a mysql error could be wrong but it has a && in the statement and i think thats for php only try change that to AND so like this $ujk=$db->query("SELECT * FROM loaned WHERE nUSER=$userid AND nITEM={$i['itmid']} LIMIT 1",$c); Quote
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.