Garry's Mod
357 оценки
DarkRP Weed System
   
Награда
Добавяне към любими
В любими
Премахване от любими
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
Размер на файла
Публикуван на
2.105 MB
4 авг. 2016 в 19:23
1 бележка за промяна ( преглед )

Абониране, за да се свали
DarkRP Weed System

Описание
Like my work? why not checkout my standalone game Hyperwaste
It's about surviving the wasteland of a long collapsed cyberpunk world.
[discord.gg]

*ADDON NO LONGER SUPPORTED BY CREATOR*

IMPORTANT: This only works in the official DarkRP gamemode! For information on usage, check Q&A section below.
----------
This addon was a commission, made by Jackarunda
----------
Drug Dealer NPC Commands:

marijuana_npc_buyer_location - This console command sets spawn points for the drug dealer, he will move from point to point over time, a map restart is required for this to work.

marijuana_npc_buyer_locations_delete - This console command removes all previously set spawn points of the drug dealer NPC, again, a map restart is required for this to take effect.

ai_disable 1 - This command is required so the NPC doesn't follow you in maps that have NPC nodes.
----------
Commands to manually give yourself weed items through console. (Not ideal for the server, just so you can see it work in singleplayer.)

give wep_jack_job_watercan (Spawns a watercan)
give ent_jack_job_plantlamp (Spawns a lamp)
give ent_jack_job_potplant (Spawns a pot)
give ent_jack_job_potsoil (Spawns a bag of soil)
give ent_jack_job_weedseed (Spawns a weedseed)
give ent_jack_job_weedbag (This is the end product that comes out of combining all other entites, it's smokable and sellable.)
----------
Q&A:

Q: What is this addon and what does it do?
A: This addon is only to be used with the DarkRP gamemode, it is essentially a system that allows you to grow weed and sell it to a dealer, make sure to check out the video for a full tutorial and demo!

Q: How do I even get this to work?
A: As previously stated it is only to be used with DarkRP, there are certain strings of code that need to be added into the addentities folder in your server to get some of the items into the buyable f4 menu, if you have a highly customized DarkRP, then you will have to integrate the items this addon offers in your own way, but by default all you need to do is add the strings of code into your add entities folder, aswell as some entites onto the blacklist. This code will all be listed at the bottom.

Q: How can I change the price of plants, soil, and other entities?
A: It's all the the addons easy to modify config folder.

----------Instructions for server owners----------

1. Paste the following into the config/addentities file of darkrp

DarkRP.createEntity("Ceramic Pot", {
ent = "ent_jack_job_potplant",
model = "models/nater/weedplant_pot.mdl",
price = 20,
max = 4,
cmd = "buyplantpot"
})

DarkRP.createEntity("Potting Soil", {
ent = "ent_jack_job_potsoil",
model = "models/props_junk/garbage_bag001a.mdl",
price = 10,
max = 8,
cmd = "buyplantsoil"
})

DarkRP.createEntity("Sun Lamp", {
ent = "ent_jack_job_plantlamp",
model = "models/props_interiors/Furniture_Lamp01a.mdl",
price = 120,
max = 1,
cmd = "buyplantlamp"
})

DarkRP.createEntity("Cannabis Seed", {
ent = "ent_jack_job_weedseed",
model = "models/props_junk/garbage_bag001a.mdl",
price = 300,
max = 8,
cmd = "buyplantseed"
})

DarkRP.createEntity("Watering Can", {
ent = "wep_jack_job_watercan",
model = "models/props_interiors/pot01a.mdl",
price = 10,
max = 5,
cmd = "buyplantwater"
})

2. put ent_jack_job_potplant, ent_jack_job_potsoil and ent_jack_job_plantlamp on the pocket blacklist
3. for each map you want the drug buyer NPC to spawn on, fly around to each spawn location and type marijuana_npc_buyer_location in console to set a spawnpoint for the NPC, many spawnpoints can be set per map, then restart the map
4. in entities/ent_jack_job_potplant/shared.lua you can find all the configurable settings for the plants at the top of the file
104 коментара
Kali 7 ян. в 11:02 
"you are not an admin f@gg0t" yeah nice one mate
-3 9 ноем. 2024 в 14:27 
Averange DarkRP Fan:😭
Averange Sandbox enjoyer:🗿

Copy this until this message is all in the GMOD workshop
Junn 22 септ. 2024 в 2:53 
Bro I'm Scoliosis
WhackBamPow 29 март 2023 в 6:43 
does thid work
Aphex Twin de Oliveira 1 ноем. 2022 в 20:25 
GAS STATION WEED!!!
Indle 11 юни 2022 в 1:19 
how do i install this?
4illNation 26 март 2022 в 11:26 
How do I configure the profits from the NPC
Pink Soldier #29 17 февр. 2022 в 3:45 
nvm
Pink Soldier #29 14 февр. 2022 в 4:27 
drug dealer cant buy my shit
Luisma 28 авг. 2021 в 11:28 
can someone tell me how to spawn the drug dealer¿