- Initiateur de la discussion
NeroxR6
Nouveau né
- Messages
- 4
- Score réaction
- 0
- Points
- 20
Bonjour j'aimerais assigner a un seul metiers c'est item , par example le bitminer mais quand je change le script et rajoute allowed = "TEAM_Bitminer" les items disparait complément du F4 , le script :
function CH_BITMINERS_DarkRPEntities()
-- Categories
DarkRP.createCategory{
name = "Equipement Bitminer",
categorises = "entities",
startExpanded = true,
color = Color(0, 107, 0, 255),
canSee = function(ply,
)
return true
end
sortOrder = 100,
}
-- Entities
DarkRP.createEntity("Power Cable", {
ent = "ch_bitminer_power_cable",
model = "models/craphead_scripts/bitminers/utility/plug.mdl",
price = 150,
max = 5,
category = "Equipement Bitminer",
cmd = "buypowercable",
allowed = {TEAM_Bitminer},
})
DarkRP.createEntity("Generator", {
ent = "ch_bitminer_power_generator",
model = "models/craphead_scripts/bitminers/power/generator.mdl",
price = 1500,
max = 4,
category = "Equipement Bitminer",
cmd = "buypowergenerator",
allowed = {TEAM_Bitminer},
Ceci n'est qu'une parti du script
Merci de votre aide , bonne journée!
function CH_BITMINERS_DarkRPEntities()
-- Categories
DarkRP.createCategory{
name = "Equipement Bitminer",
categorises = "entities",
startExpanded = true,
color = Color(0, 107, 0, 255),
canSee = function(ply,
)
return true
end
sortOrder = 100,
}
-- Entities
DarkRP.createEntity("Power Cable", {
ent = "ch_bitminer_power_cable",
model = "models/craphead_scripts/bitminers/utility/plug.mdl",
price = 150,
max = 5,
category = "Equipement Bitminer",
cmd = "buypowercable",
allowed = {TEAM_Bitminer},
})
DarkRP.createEntity("Generator", {
ent = "ch_bitminer_power_generator",
model = "models/craphead_scripts/bitminers/power/generator.mdl",
price = 1500,
max = 4,
category = "Equipement Bitminer",
cmd = "buypowergenerator",
allowed = {TEAM_Bitminer},
Ceci n'est qu'une parti du script
Merci de votre aide , bonne journée!