- Initiateur de la discussion
T
Tobia
Nouveau né
- Messages
- 12
- Score réaction
- 0
- Points
- 15
Bonsoir aujourd'hui je vous expose mon problème ce qui devient habituelle
Sur mon serveur j'ai le Job Vendeur d'armes qui est config comme cela
Mon fichier shipments.lua est config comme cela
Et pourtant tous les joueurs peuvent acheter les armes. Mon menu f4 est le suivant !!
J'aimerais savoir comment faire deux vendeurs d'armes differrent et que seuls ces deux vendeurs aient acces a leur shop. merci de votre aide !!
Sur mon serveur j'ai le Job Vendeur d'armes qui est config comme cela
Code:
TEAM_GUN = DarkRP.createJob("Vendeur d'armes", { color = Color(20, 150, 20, 255), model = { "models/humans/modern/male_01_01.mdl", "models/humans/modern/male_01_02.mdl", "models/humans/modern/male_01_03.mdl", "models/humans/modern/male_02_01.mdl", "models/humans/modern/male_02_02.mdl", "models/humans/modern/male_02_03.mdl", "models/humans/modern/male_03_01.mdl", "models/humans/modern/male_03_02.mdl", "models/humans/modern/male_03_03.mdl", "models/humans/modern/male_03_04.mdl", "models/humans/modern/male_03_05.mdl", "models/humans/modern/male_03_06.mdl", "models/humans/modern/male_03_07.mdl", "models/humans/modern/male_04_01.mdl", "models/humans/modern/male_04_02.mdl", "models/humans/modern/male_04_03.mdl", "models/humans/modern/male_04_04.mdl", "models/humans/modern/male_05_01.mdl", "models/humans/modern/male_05_02.mdl", "models/humans/modern/male_05_03.mdl", "models/humans/modern/male_05_04.mdl", "models/humans/modern/male_05_05.mdl", "models/humans/modern/male_06_01.mdl", "models/humans/modern/male_06_02.mdl", "models/humans/modern/male_06_03.mdl", "models/humans/modern/male_06_04.mdl", "models/humans/modern/male_06_05.mdl", "models/humans/modern/male_07_01.mdl", "models/humans/modern/male_07_02.mdl", "models/humans/modern/male_07_03.mdl", "models/humans/modern/male_07_04.mdl", "models/humans/modern/male_07_05.mdl", "models/humans/modern/male_07_06.mdl", "models/humans/modern/male_08_01.mdl", "models/humans/modern/male_08_02.mdl", "models/humans/modern/male_08_03.mdl", "models/humans/modern/male_08_04.mdl", "models/humans/modern/male_09_01.mdl", "models/humans/modern/male_09_02.mdl", "models/humans/modern/male_09_03.mdl", "models/humans/modern/male_09_04.mdl", "models/humans/modern/female_01.mdl", "models/humans/modern/female_02.mdl", "models/humans/modern/female_03.mdl", "models/humans/modern/female_04.mdl", "models/humans/modern/female_06.mdl", "models/humans/modern/female_07.mdl" }, description = [[]], weapons = {"weapon_arc_atmcard"}, command = "gundealer", max = 2, salary = 280, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Citoyen",
})
Code:
DarkRP.createShipment("Glock 20", { model = "models/weapons/w_glock20.mdl", entity = "fas2_glock20", price = 700, amount = 10, separate = true, pricesep = 700, noship = true, allowed = {TEAM_GUN}, category = "Pistols",
})
DarkRP.createShipment("Desert Eagle", { model = "models/weapons/w_deserteagle.mdl", entity = "fas2_deagle", price = 1600, amount = 10, separate = true, pricesep = 1600, noship = true, allowed = {TEAM_GUN}, category = "Pistols",
})
J'aimerais savoir comment faire deux vendeurs d'armes differrent et que seuls ces deux vendeurs aient acces a leur shop. merci de votre aide !!