PivityGmodStore

Simple Cigarette Factory 🚬

(6)(466)

You can always read the reviews or discuss this product

TheObteyposted

A very great addon, simple to use and to understand.

I would recommand a version where you can add a bonus of sell for a donator rank. Otherwise it's very cool :)

Heavenposted

The idea is not bad but I find it unfortunate that we cannot smoke cigarettes. Because ultimately if we look carefully, it is just a printer with the theme "cigarettes", nothing more.

Smailposted

а

Smailposted

а

capSARposted

The entity folder for the Delivery Box is spelled wrong, should be cf_delivery_box instead of cf_delievery_box :) Otherwise the addon works perfectly, thanks for posting the entity text :)

ThatCatGuyPurchasedposted

second half

DarkRP.createEntity("Cigarette Tobacco", {

 ent = "cf_tobacco_pack",

 model = "models/cigarette_factory/cf_tobacco_pack.mdl",

 price = 300,

 max = 6,

 cmd = "cigtobacco",

 category = "Cigarette Factory",

 allowed = {TEAM_GANG}

})


DarkRP.createEntity("Machine Upgrade", {

 ent = "cf_engine_upgrade",

 model = "models/maxofs2d/thruster_propeller.mdl",

 price = 1000,

 max = 1,

 cmd = "cigmachineupgrade",

 category = "Cigarette Factory",

 allowed = {TEAM_GANG}

})


DarkRP.createEntity("Storage Upgrade", {

 ent = "cf_storage_upgrade",

 model = "models/thrusters/jetpack.mdl",

 price = 1000,

 max = 1,

 cmd = "cigstorageupgrade",

 category = "Cigarette Factory",

 allowed = {TEAM_GANG}

})


DarkRP.createEntity("Delivery Box", {

 ent = "cf_delievery_box",

 model = "models/props_junk/cardboard_box003a.mdl",

 price = 100,

 max = 1,

 cmd = "cigdeliverybox",

 category = "Cigarette Factory",

 allowed = {TEAM_GANG}

})

ThatCatGuyPurchasedposted

DarkRP.createCategory{

  name = "Cigarette Factory",

  categorises = "entities",

  startExpanded = true,

  color = Color(0, 107, 0, 255),

  canSee = function(ply) return table.HasValue({TEAM_GANG}, ply:Team()) end,

  sortOrder = 20,

}


DarkRP.createEntity("Cigarette Machine", {

 ent = "cf_cigarette_machine",

 model = "models/cigarette_factory/cf_machine.mdl",

 price = 1000,

 max = 2,

 cmd = "cigmachine",

 category = "Cigarette Factory",

 allowed = {TEAM_GANG}

})


DarkRP.createEntity("Cigarette Paper", {

 ent = "cf_roll_paper",

 model = "models/cigarette_factory/cf_rollpaper.mdl",

 price = 200,

 max = 6,

 cmd = "cigpaper",

 category = "Cigarette Factory",

 allowed = {TEAM_GANG}

})


First half

Morgan.MPurchasedposted

My Suggestion is to auto add that

Morgan.MPurchasedposted

This is a good Script, But People who are new to gmod servers and lua would find it hard to set up as you have to add the ents and job to the f4 menu

Threebowposted

Where did this come from?

RAG€Rposted

Dope script

Jackposted

Ahhh, this is fantastic. GLWS

2REKposted

GLWS only GMD cigarettes ;p

silposted

Looks good, and nice emoji description 😉! GLWS!