- Initiateur de la discussion
KMS [FR]
Geek
- Messages
- 154
- Score réaction
- 13
- Points
- 65
Bonjour, j'ai ajouté des entités, je les vois dans le menu F4 mais elle ne spawnent pas...
Voici le script des entités:
merci d'avance.
DarkRP.createEntity("Printer en Bronze", {
ent = "bronze_printer",
model = "models/props_c17/consolebox01a.mdl",
price = 950,
max = 3,
cmd = "bronzeprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer en Argent", {
ent = "silver_printer",
model = "models/props_c17/consolebox01a.mdl",
price = 1050,
max = 2,
cmd = "silverprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer en Or", {
ent = "gold_printer",
model = "models/props_c17/consolebox01a.mdl",
price = 2050,
max = 3,
cmd = "goldprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer vert", {
ent = "green_printer",
model = "models/props_c17/consolebox01a.mdl",
price = 2420,
max = 4,
cmd = "greenprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer viollet", {
ent = "purple_printer",
model = "models/props_lab/harddrive01.mdl",
price = 3420,
max = 4,
cmd = "purpleprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer Emeraude", {
ent = "emerald_printer",
model = "models/props_c17/consolebox05a.mdl",
price = 4420,
max = 4,
cmd = "emeraldprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer Scientifique", {
ent = "scientific_printer",
model = "models/props_lab/plotter.mdl",
price = 5420,
max = 4,
cmd = "scientificprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer fait maison", {
ent = "homemade_printer",
model = "models/props_c17/TrapPropeller_Engine.mdl",
price = 240,
max = 1,
cmd = "homemadeprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer Ruby", {
ent = "ruby_printer",
model = "models/props_lab/reciever01a.mdl",
price = 10420,
max = 2,
cmd = "buyrubyprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer Nucleaire", {
ent = "nuclear_printer",
model = "models/props_lab/reciever_cart.mdl",
price = 2500000,
max = 1,
cmd = "buynuclearprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
Voici le script des entités:
merci d'avance.
DarkRP.createEntity("Printer en Bronze", {
ent = "bronze_printer",
model = "models/props_c17/consolebox01a.mdl",
price = 950,
max = 3,
cmd = "bronzeprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer en Argent", {
ent = "silver_printer",
model = "models/props_c17/consolebox01a.mdl",
price = 1050,
max = 2,
cmd = "silverprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer en Or", {
ent = "gold_printer",
model = "models/props_c17/consolebox01a.mdl",
price = 2050,
max = 3,
cmd = "goldprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer vert", {
ent = "green_printer",
model = "models/props_c17/consolebox01a.mdl",
price = 2420,
max = 4,
cmd = "greenprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer viollet", {
ent = "purple_printer",
model = "models/props_lab/harddrive01.mdl",
price = 3420,
max = 4,
cmd = "purpleprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer Emeraude", {
ent = "emerald_printer",
model = "models/props_c17/consolebox05a.mdl",
price = 4420,
max = 4,
cmd = "emeraldprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer Scientifique", {
ent = "scientific_printer",
model = "models/props_lab/plotter.mdl",
price = 5420,
max = 4,
cmd = "scientificprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer fait maison", {
ent = "homemade_printer",
model = "models/props_c17/TrapPropeller_Engine.mdl",
price = 240,
max = 1,
cmd = "homemadeprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer Ruby", {
ent = "ruby_printer",
model = "models/props_lab/reciever01a.mdl",
price = 10420,
max = 2,
cmd = "buyrubyprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})
DarkRP.createEntity( "Printer Nucleaire", {
ent = "nuclear_printer",
model = "models/props_lab/reciever_cart.mdl",
price = 2500000,
max = 1,
cmd = "buynuclearprinter",
allowed = {TEAM_MAYOR, TEAM_CITIZEN, TEAM_GANG, TEAM_MOB},
})