• ItemStore picking up box
    4 replies, posted
Well I got custom drug dealer job and after I cook drug I get a box and I need to bring it to the NPC but the thing is I can't pick it up with ItemStore Inventory,I did tried this with my entity name and everything but it didn't work.So how I make it work ? -- Custom items. Defining these will allow server owners to make certain -- entities pickupable... but may not work 100%. If this is the case, you will probably -- need to code the item definition yourself. -- Format for each entry is: -- <entity class> = { "<name>", "<description>", <stackable (optional)> } itemstore.config.CustomItems = { sent_ball = { "Bouncy Ball", "A bouncy ball!", true }, }
Edit the config. You need to get someone else to do this for you. It's good that you're trying to learn and all, but your countless threads about simple shit are just beating everyone's brains into the dust. Plus it's all DarkRP. I get that you "have a server to run" and probably "can't be bothered to learn any Lua because running a community is more important and time-consuming than learning how to make a good server," but seeing thread after thread of "how do I do this" and the answer being as simple as changing a single variable or just adding a line to a config file gets mind-numbing after a while. So please, either find someone who's willing to set up your server for you, start using Google just a little more, or learn how to code yourself.
So you wanna say that you don't know how to do that...because I don't know what's your point this subforum is for help...Can you help me or not -_-
This subforum is not for help. This subforum is for Lua Developer Discussion, not DarkRP Server Owner Help, however that is unfortunately what it has spiraled downward into. And yeah I'll come clean, I have no clue how to help your problem. Reading what you posted though, it seems like an easy fix if you just read the code block you copy+pasted, it tells you like exactly what to do.
@xPaco1337 I'll be on in a bit to help. In the meantime you have to think about how the inventory pickup works. You have to define something to be able to store it and since you can't store it then that means you haven't defined it yet. Figure that out first. @SweptThrone considering you can't even make an account on the official darkrp forums to get help there I would say this is the only place people really have to get help with GLua. Secondly no one is forcing anyone here to reply to these threads so there's no reason to get upset with a user if you don't help them then they'll either figure it out themselves or someone else will get around to it. Any other site for Gmod Lua support?
Sorry, you need to Log In to post a reply to this thread.