Aucune entités de cocaïne

  • Initiateur de la discussion
K

kiwix123

Geek
Messages
20
Score réaction
1
Points
90
Bonjour,

j'ai acheter le script de cocaine sur gmodstore celui-ci: https://www.gmodstore.com/scripts/view/2381/enhanced-cocaine-laboratory

J'ai tout modif les entités apparaissent dans les entités du serveurs mais quand je prends le job associer aux entités les entités n'apparaissent pas dans le f4 :/

Code:
timer.Simple(5, function()
local allowedTeam = {TEAM_COCAINE} -- Jobs what are allowed to buy cocaine supplies.
DarkRP.createCategory{ name = "Cocaine Supplies", categorises = "entities", startExpanded = true, color = Color(255, 165, 0, 255), sortOrder = 100, canSee = function(ply) return true end,
}
DarkRP.createEntity("Pot for growing Coca Plant", { ent = "ecl_plant_pot", model = "models/props_junk/terracotta01.mdl", price = 150, max = 5, cmd = "eclbuypp", category = "Cocaine Supplies", allowed = allowedTeam
})
if (ECL.CustomModels.Stove) then DarkRP.createEntity("Portable Stove", { ent = "ecl_stove", model = "models/srcocainelab/portablestove.mdl", price = 1000, max = 4, cmd = "eclbuyst", category = "Cocaine Supplies", allowed = allowedTeam })
else DarkRP.createEntity("Stove", { ent = "ecl_stove", model = "models/props_c17/furnitureStove001a.mdl", price = 5000, max = 1, cmd = "eclbuyst", category = "Cocaine Supplies", allowed = allowedTeam })
end
DarkRP.createEntity("Pot for cooking Cocaine", { ent = "ecl_pot", model = "models/props_c17/metalPot001a.mdl", price = 500, max = 4, cmd = "eclbuyp", category = "Cocaine Supplies", allowed = allowedTeam
})
DarkRP.createEntity("Box for collecting leaves", { ent = "ecl_leafbox", model = "models/props_junk/cardboard_box004a.mdl", price = 150, max = 5, cmd = "eclbuycl", category = "Cocaine Supplies", allowed = allowedTeam
})
DarkRP.createEntity("Kerosin", { ent = "ecl_kerosin", model = "models/props_junk/metal_paintcan001a.mdl", price = 750, max = 8, cmd = "eclbuyks", category = "Cocaine Supplies", allowed = allowedTeam
})
if (ECL.CustomModels.Gascan) then DarkRP.createEntity("Gascan", { ent = "ecl_gas", model = "models/srcocainelab/gascan.mdl", price = 500, max = 5, cmd = "eclbuygs", category = "Cocaine Supplies", allowed = allowedTeam })
else DarkRP.createEntity("Gas for Stove", { ent = "ecl_gas", model = "models/props_junk/propane_tank001a.mdl", price = 500, max = 5, cmd = "eclbuygs", category = "Cocaine Supplies", allowed = allowedTeam })
end;
DarkRP.createEntity("Gasoline", { ent = "ecl_gasoline", model = "models/props_junk/metalgascan.mdl", price = 1000, max = 2, cmd = "eclbuygl", category = "Cocaine Supplies", allowed = allowedTeam
})
DarkRP.createEntity("Water for Drufing Leaves", { ent = "ecl_drafted", model = "models/props_junk/plasticbucket001a.mdl", price = 500, max = 4, cmd = "eclbuydl", category = "Cocaine Supplies", allowed = allowedTeam
})
DarkRP.createEntity("Sulfuric Acid", { ent = "ecl_sulfuric_acid", model = "models/props_junk/garbage_milkcarton001a.mdl", price = 1000, max = 2, cmd = "eclbuysa", category = "Cocaine Supplies", allowed = allowedTeam
})
end)

merci a vous :)
 
Joe Leroi

Joe Leroi

Chuck Norris
Messages
4 368
Score réaction
933
Points
605
kiwix123 à dit:
Bonjour,

j'ai acheter le script de cocaine sur gmodstore celui-ci: https://www.gmodstore.com/scripts/view/2381/enhanced-cocaine-laboratory

J'ai tout modif les entités apparaissent dans les entités du serveurs mais quand je prends le job associer aux entités les entités n'apparaissent pas dans le f4 :/

Code:
timer.Simple(5, function()
local allowedTeam = {TEAM_COCAINE} -- Jobs what are allowed to buy cocaine supplies.
DarkRP.createCategory{ name = "Cocaine Supplies", categorises = "entities", startExpanded = true, color = Color(255, 165, 0, 255), sortOrder = 100, canSee = function(ply) return true end,
}
DarkRP.createEntity("Pot for growing Coca Plant", { ent = "ecl_plant_pot", model = "models/props_junk/terracotta01.mdl", price = 150, max = 5, cmd = "eclbuypp", category = "Cocaine Supplies", allowed = allowedTeam
})
if (ECL.CustomModels.Stove) then DarkRP.createEntity("Portable Stove", { ent = "ecl_stove", model = "models/srcocainelab/portablestove.mdl", price = 1000, max = 4, cmd = "eclbuyst", category = "Cocaine Supplies", allowed = allowedTeam })
else DarkRP.createEntity("Stove", { ent = "ecl_stove", model = "models/props_c17/furnitureStove001a.mdl", price = 5000, max = 1, cmd = "eclbuyst", category = "Cocaine Supplies", allowed = allowedTeam })
end
DarkRP.createEntity("Pot for cooking Cocaine", { ent = "ecl_pot", model = "models/props_c17/metalPot001a.mdl", price = 500, max = 4, cmd = "eclbuyp", category = "Cocaine Supplies", allowed = allowedTeam
})
DarkRP.createEntity("Box for collecting leaves", { ent = "ecl_leafbox", model = "models/props_junk/cardboard_box004a.mdl", price = 150, max = 5, cmd = "eclbuycl", category = "Cocaine Supplies", allowed = allowedTeam
})
DarkRP.createEntity("Kerosin", { ent = "ecl_kerosin", model = "models/props_junk/metal_paintcan001a.mdl", price = 750, max = 8, cmd = "eclbuyks", category = "Cocaine Supplies", allowed = allowedTeam
})
if (ECL.CustomModels.Gascan) then DarkRP.createEntity("Gascan", { ent = "ecl_gas", model = "models/srcocainelab/gascan.mdl", price = 500, max = 5, cmd = "eclbuygs", category = "Cocaine Supplies", allowed = allowedTeam })
else DarkRP.createEntity("Gas for Stove", { ent = "ecl_gas", model = "models/props_junk/propane_tank001a.mdl", price = 500, max = 5, cmd = "eclbuygs", category = "Cocaine Supplies", allowed = allowedTeam })
end;
DarkRP.createEntity("Gasoline", { ent = "ecl_gasoline", model = "models/props_junk/metalgascan.mdl", price = 1000, max = 2, cmd = "eclbuygl", category = "Cocaine Supplies", allowed = allowedTeam
})
DarkRP.createEntity("Water for Drufing Leaves", { ent = "ecl_drafted", model = "models/props_junk/plasticbucket001a.mdl", price = 500, max = 4, cmd = "eclbuydl", category = "Cocaine Supplies", allowed = allowedTeam
})
DarkRP.createEntity("Sulfuric Acid", { ent = "ecl_sulfuric_acid", model = "models/props_junk/garbage_milkcarton001a.mdl", price = 1000, max = 2, cmd = "eclbuysa", category = "Cocaine Supplies", allowed = allowedTeam
})
end)

merci a vous :)
C quoi la team de ton Job ?
 
  • Initiateur de la discussion
K

kiwix123

Geek
Messages
20
Score réaction
1
Points
90
TEAM_COCAINE
 
  • Initiateur de la discussion
K

kiwix123

Geek
Messages
20
Score réaction
1
Points
90
Joe Leroi à dit:
C quoi la team de ton Job ?
Code:
TEAM_COCAINE = DarkRP.createJob("Trafiquant de cocaïne", { color = Color(107, 28, 28, 255), model = {"models/player/hostage/hostage_04.mdl"}, description = [[Tu fabriques et vends de la cocaïne ]], weapons = {"weapon_fists", "idcard"}, command = "coaineyur", max = 2, salary = 25, admin = 0, vote = false, hasLicense = false, candemote = false
})
le job en question
 
Discord d'entraide
Rejoignz-nous sur Discord