enhanced_weed

  • Initiateur de la discussion surky
  • Date de début
  • Initiateur de la discussion
S

surky

Geek suprême
Messages
378
Score réaction
26
Points
125
Bonjours j'aimerais avoir si vous l'avez les ligne de code pour mettre les entité dans mes objet de mon f4 merci de votre réponse
 
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
KDO
(Entity generator)
 
  • Initiateur de la discussion
S

surky

Geek suprême
Messages
378
Score réaction
26
Points
125
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
Explique moi :oops:
 
  • Initiateur de la discussion
S

surky

Geek suprême
Messages
378
Score réaction
26
Points
125
Pour les intérèssé voilà la ligne de code a add dans entities.lua

DarkRP.createEntity( "Pot", {
ent = "adrug_weed_plant",
model = "models/props_junk/terracotta01.mdl",
price = 10,
max = 1,
cmd = "buypotcannabis",
allowed = {TEAM_WEED},
-- CustomCheck
})

DarkRP.createEntity( "Graine de Cannabis", {
ent = "adrug_weed_seed",
model = "models/props/de_inferno/crate_fruit_break_gib2.mdl",
price = 60,
max = 4,
cmd = "buygrainec",
allowed = {TEAM_WEED},
-- CustomCheck
})

DarkRP.createEntity( "Eau", {
ent = "adrug_water",
model = "models/props_junk/garbage_plasticbottle003a.mdl",
price = 3,
max = 1,
cmd = "buyeaucannabis",
allowed = {TEAM_WEED},
-- CustomCheck
})

DarkRP.createEntity( "Lampe Forte", {
ent = "adrug_heat_lamp",
model = "models/props_c17/light_floodlight02_off.mdl",
price = 150,
max = 1,
cmd = "buylampeforte",
allowed = {TEAM_WEED},
-- CustomCheck
})

DarkRP.createEntity( "GÉnÉrateur", {
ent = "adrug_generator",
model = "models/props_vehicles/generatortrailer01.mdl",
price = 200,
max = 1,
cmd = "buygenerateur",
allowed = {TEAM_WEED},
-- CustomCheck
})

DarkRP.createEntity( "Éssence", {
ent = "adrug_fuel",
model = "models/props_junk/metalgascan.mdl",
price = 25,
max = 1,
cmd = "buycannabisessence",
allowed = {TEAM_WEED},
-- CustomCheck
})

DarkRP.createEntity( "Batterie", {
ent = "adrug_battery",
model = "models/items/car_battery01.mdl",
price = 80,
max = 1,
cmd = "buybatterie",
allowed = {TEAM_WEED},
-- CustomCheck
})
 
Discord d'entraide
Rejoignz-nous sur Discord