• DarkRP Help
    2 replies, posted
Hey guys, I have a question concerning the food. I'm trying to add food from this addon [url]https://steamcommunity.com/sharedfiles/filedetails/?id=108024198[/url]. I want that food to be purchased by EVERYONE (every group) since I enable the hunger mod. But for some reason, the food only shows up on the f4 menu when your a cook, not a citizen, mob boss, etc. How do I make it so that everyone will be able to buy the food in the food tab? Thanks! Heres one of the food items I put in addons/darkrpmodification/lua/darkrp_customthings/food.lua, and when I go on the server, I could only see it in the food tab as a cook, not everyone else. (which is what i would like) [CODE]DarkRP.createFood("Banana", { model = "models/props/cs_italy/bananna.mdl", energy = 10, price = 10 }) [/CODE] (Ignore the item and model, I deleted my old file with all the food since it didn't work, but this is what it exactly looked like, but a different model and name)
The only way I could think of how to fix this is to add this to all your jobs [code] cook = true [/code] do to the fact that Darkrp food has a the cook being the one who deals with food
Alternatively, you could create a food addon yourself and just allow all jobs to buy/sell food.
Sorry, you need to Log In to post a reply to this thread.