Garry's Mod Leaks

???? Enchanced Meth Laboratory ????

Submitted by Fliz, , Thread ID: 66186

Thread Closed
22-12-2017, 02:05 AM
#1
enchanced meth laboratory - Leak

imma link code to import into the lua.customthings.entities


Addon:
Content locked
This content has been locked. Please login or register in order to unlock it.


Entities:
Code:
DarkRP.createEntity("Gas Canister", {
  ent = "eml_gas",
  model = "models/props_c17/canister01a.mdl",
  price = 150,
  max = 2,
  cmd = "buygascanister",
  category = "Meth Cooking",
  allowed = {TEAM_METHCOOK},
  customCheck = function(ply) return
    table.HasValue({TEAM_METHCOOK}, ply:Team())
  end,
  CustomCheckFailMsg = "Your not the correct job!",
})

DarkRP.createEntity("Liquid Iodine", {
  ent = "eml_iodine",
  model = "models/props_lab/jar01b.mdl",
  price = 50,
  max = 2,
  cmd = "buyiodine",
  category = "Meth Cooking",
  allowed = {TEAM_METHCOOK},
  customCheck = function(ply) return
    table.HasValue({TEAM_METHCOOK}, ply:Team())
  end,
  CustomCheckFailMsg = "Your not the correct job!",
})

DarkRP.createEntity("Jar", {
  ent = "eml_jar",
  model = "models/props_lab/jar01a.mdl",
  price = 250,
  max = 1,
  cmd = "buyjar",
  category = "Meth Cooking",
  allowed = {TEAM_METHCOOK},
  customCheck = function(ply) return
    table.HasValue({TEAM_METHCOOK}, ply:Team())
  end,
  CustomCheckFailMsg = "Your not the correct job!",
})

DarkRP.createEntity("Muriatic Acid", {
  ent = "eml_macid",
  model = "models/props_junk/garbage_plasticbottle001a.mdl",
  price = 100,
  max = 2,
  cmd = "buymacid",
  category = "Meth Cooking",
  allowed = {TEAM_METHCOOK},
  customCheck = function(ply) return
    table.HasValue({TEAM_METHCOOK}, ply:Team())
  end,
  CustomCheckFailMsg = "Your not the correct job!",
})

DarkRP.createEntity("Pot", {
  ent = "eml_pot",
  model = "models/props_c17/metalPot001a.mdl",
  price = 150,
  max = 1,
  cmd = "buypot",
  category = "Meth Cooking",
  allowed = {TEAM_METHCOOK},
  customCheck = function(ply) return
    table.HasValue({TEAM_METHCOOK}, ply:Team())
  end,
  CustomCheckFailMsg = "Your not the correct job!",
})

DarkRP.createEntity("Special Pot", {
  ent = "eml_spot",
  model = "models/props_c17/metalPot001a.mdl",
  price = 150,
  max = 1,
  cmd = "buyspot",
  category = "Meth Cooking",
  allowed = {TEAM_METHCOOK},
  customCheck = function(ply) return
    table.HasValue({TEAM_METHCOOK}, ply:Team())
  end,
  CustomCheckFailMsg = "Your not the correct job!",
})

DarkRP.createEntity("Stove", {
  ent = "eml_stove",
  model = "models/props_c17/furnitureStove001a.mdl",
  price = 200,
  max = 1,
  cmd = "buystove",
  category = "Meth Cooking",
  allowed = {TEAM_METHCOOK},
  customCheck = function(ply) return
    table.HasValue({TEAM_METHCOOK}, ply:Team())
  end,
  CustomCheckFailMsg = "Your not the correct job!",
})

DarkRP.createEntity("Liquid Sulfur", {
  ent = "ml_sulfur",
  model = "models/props_lab/jar01b.mdl",
  price = 150,
  max = 2,
  cmd = "buysulfur",
  category = "Meth Cooking",
  allowed = {TEAM_METHCOOK},
  customCheck = function(ply) return
    table.HasValue({TEAM_METHCOOK}, ply:Team())
  end,
  CustomCheckFailMsg = "Your not the correct job!",
})

DarkRP.createEntity("Water", {
  ent = "ml_water",
  model = "models/props_junk/garbage_plasticbottle003a.mdl",
  price = 100,
  max = 2,
  cmd = "buywater",
  category = "Meth Cooking",
  allowed = {TEAM_METHCOOK},
  customCheck = function(ply) return
    table.HasValue({TEAM_METHCOOK}, ply:Team())
  end,
  CustomCheckFailMsg = "Your not the correct job!",
})


Category:

Code:
DarkRP.createCategory{
  name = "Meth Cooking",
  categorises = "entities",
  startExpanded = true,
  color = Color(14, 184, 62, 255),
  canSee = function(ply) return table.HasValue({TEAM_METHCOOK}, ply:Team()) end,
  sortOrder = 2
}

RE: ???? Enchanced Meth Laboratory ????

#2
Does anyone know if this still works at the moment? If so, please private message me, thank you!

RE: ???? Enchanced Meth Laboratory ????

#3
WOW. finaly someone who includes the code for it. THANK YOU

RE: ???? Enchanced Meth Laboratory ????

#4
thank you very much

RE: ???? Enchanced Meth Laboratory ????

#5
Swish this is a high quality addon right here. thank you very mcuh

Users browsing this thread: 1 Guest(s)