- Initiateur de la discussion
- Banni
rexlafureur
Psychopathe
- Messages
- 1 054
- Score réaction
- 83
- Points
- 220
Re-coucou les gens
Probleme : Tout le monde peut avoir les armes alors que j'ai configurer pour que que les vendeurs d'armes puissent avoir les armes
Script de quelques arme :
DarkRP.createShipment("SR-25", {
model = "models/weapons/w_sr25.mdl",
entity = "fas2_sr25",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
category = "Arme",
allowed = {TEAM_GUN,}
})
DarkRP.createShipment("TOZ-34", {
model = "models/weapons/world/rifles/ak12.mdl",
entity = "fas2_toz34",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
category = "Arme",
allowed = {TEAM_GUN,}
})
DarkRP.createShipment("Uzi", {
model = "models/weapons/w_mp5.mdl",
entity = "fas2_uzi",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
category = "Arme",
allowed = {TEAM_GUN,}
})
Métier Vendeur D'arme :
TEAM_GUN = DarkRP.createJob("Vendeur d'armes", {
color = Color(200, 50, 3, 500),
model = {"models/niko_bellic/slow.mdl"},
description = [[Je vend des armes pas de Paintball.]],
weapons = {"weapon_arc_atmcard","weapon_fists","pocket"},
command = "vendeurdarme",
max = 1,
salary = 45,
admin = 0,
vote = true,
hasLicense = false,
category = "Gentils",
})
Merci a vous
Probleme : Tout le monde peut avoir les armes alors que j'ai configurer pour que que les vendeurs d'armes puissent avoir les armes
Script de quelques arme :
DarkRP.createShipment("SR-25", {
model = "models/weapons/w_sr25.mdl",
entity = "fas2_sr25",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
category = "Arme",
allowed = {TEAM_GUN,}
})
DarkRP.createShipment("TOZ-34", {
model = "models/weapons/world/rifles/ak12.mdl",
entity = "fas2_toz34",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
category = "Arme",
allowed = {TEAM_GUN,}
})
DarkRP.createShipment("Uzi", {
model = "models/weapons/w_mp5.mdl",
entity = "fas2_uzi",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
category = "Arme",
allowed = {TEAM_GUN,}
})
Métier Vendeur D'arme :
TEAM_GUN = DarkRP.createJob("Vendeur d'armes", {
color = Color(200, 50, 3, 500),
model = {"models/niko_bellic/slow.mdl"},
description = [[Je vend des armes pas de Paintball.]],
weapons = {"weapon_arc_atmcard","weapon_fists","pocket"},
command = "vendeurdarme",
max = 1,
salary = 45,
admin = 0,
vote = true,
hasLicense = false,
category = "Gentils",
})
Merci a vous