Jump to content
MakeWebGames

Magictallguy

Administrators
  • Posts

    2,124
  • Joined

  • Last visited

  • Days Won

    144

Everything posted by Magictallguy

  1. I'll add that in now   Already done :)   I'll have a look now too :)   Normally within 10 minutes of posting on here :)
  2. Code updated
  3. Code updated
  4. Exactly what it says on the tin. If not rows are found, kill the page cleanly with some message stating that you don't own it. I've just realised I can minify that further.. Original code updated
  5. Thank you for pointing those out, my own fault for rushing! Original code updated I'm having a look at my local copy of the item*.php and everything appears to be working fine. Let me just compare version ;) -- UPDATE See original code. Everything should be fine
  6. That's because that's not the right link. Blame MWG's syntax highlighter.. I do.. You can find a copy of this on my site (link is in my signature)
  7. When gangs are created, then gangs are created lol The settings will automatically insert themselves once the gang leader has set them (might make it a requirement to set them first), then it'll just update instead. Did you receive that error *after* running through the settings, or before? Update The option to make setting up the armoury a requirement has been added
  8. I'm sure I included the query update. ah well, original code updated :)
  9. Haha, ask as many as you want :)   It can indeed. I'll make sure to include that with the other update :)
  10. I'd take that offer.. Chances are I'm not going to be able to finish it :/
  11. Currently, they're stuck with them. I'll add in updates for the attack*.php and my gang_staff_delete() shortly :)
  12. I added in the line breaks after completing the function and simply didn't think lol Code update [update] Code reverted.. This happens if I remove the line break from every line and just stick it at the end of the function: http://screencast.com/t/l8KgdQCS
  13. Whoops, looks like I left that in by mistake I switched that part directly around from how I originally had it (made more sense whilst writing it), I'll update the original code now
  14.   Thanks to you both
  15. Code updated, small edits to the equip_armor/equip_weapon Also, Ben Change $db->query("UPDATE `inventory` SET `inv_qty` = `inv_qty` + ".$qty.(($gangitem == 1) ? ', `inv_borrowed` = 'No'' : '')." WHERE `inv_id` = ".$r['inv_id']); To $db->query("UPDATE `inventory` SET `inv_qty` = `inv_qty` + ".$qty.(($gangitem == 1) ? ', `inv_borrowed` = \'No\'' : '')." WHERE `inv_id` = ".$r['inv_id']);   Blame the highlighter on here Original post updated
  16. Haha, 'tis not a problem. It's available on my site: http://magictallguy.tk/mods.php#armoury
  17. Original post updated
  18. Well spotted, I'll fix that in a moment
  19. Updated multiple times, tested and fully working :D Enjoy your new fully-fledged Gang Armoury!
  20. Code updated, see OP
  21. Understood, I'll add in the checks shortly, just working on something at the moment
  22. View the handling for the gang_armoury_loans, that tracks the loaned items no matter what. The user can only have one of any item they borrow, and they can't buy/be sent any more. I'll add in some form of check for equipment
  23. I'm tired, clarify?
×
×
  • Create New...