- Initiateur de la discussion
Julate
Geek
- Messages
- 29
- Score réaction
- 1
- Points
- 65
Bonjour tout le monde, ayant déjà chercher de l'aide sur ce forum et toujours eu des aides positives <3 je reviens à vous de nouveau afin de recevoir un peu d'aide ^^
Voilà, j'ai créer un job "Quincailler" et lui est donner comme objet à vendre les accessoires de FA:S 2 (lunette, viseur, silencieux...) et les gilets par balle (lourd/moyen/léger) sauf que :
You do not have the right job to /buyshipment
Alors que :
(oui, même problème avec les autres jobs où j'ai mis la vente de gilet par balle)
Voilà, j'ai créer un job "Quincailler" et lui est donner comme objet à vendre les accessoires de FA:S 2 (lunette, viseur, silencieux...) et les gilets par balle (lourd/moyen/léger) sauf que :
You do not have the right job to /buyshipment
Alors que :
Code:
-- Accessoires
AddCustomShipment("Acog 4x", "models/Items/BoxSRounds.mdl", "fas2_att_acog", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("Comp M4", "models/Items/BoxSRounds.mdl", "fas2_att_compm4", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("Elcan C79", "models/Items/BoxSRounds.mdl", "fas2_att_c79", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("EOTech 553", "models/Items/BoxSRounds.mdl", "fas2_att_eotech", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("Foregrip", "models/Items/BoxSRounds.mdl", "fas2_att_foregrip", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("Harris Bipod", "models/Items/BoxSRounds.mdl", "fas2_att_harrisbipod", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("Leupold mk4", "models/Items/BoxSRounds.mdl", "fas2_att_leupold", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("M21 20RND Mag", "models/Items/BoxSRounds.mdl", "fas2_att_m2120mag", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("MP5K 30RND Mag", "models/Items/BoxSRounds.mdl", "fas2_att_mp5k30mag", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("SG 556X 30RND Mag", "models/Items/BoxSRounds.mdl", "fas2_att_sg55x30mag", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("SKS 20RND Mag", "models/Items/BoxSRounds.mdl", "fas2_att_sks20mag", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("Suppressor", "models/Items/BoxSRounds.mdl", "fas2_att_suppressor", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("Tritium Sights", "models/Items/BoxSRounds.mdl", "fas2_att_tritiumsights", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("UZI Wooden Stock", "models/Items/BoxSRounds.mdl", "fas2_att_uziwoodenstock", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("SKS 30RND Mag", "models/Items/BoxSRounds.mdl", "fas2_att_sks30mag", 500, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("Medical Equipment", "models/Items/BoxSRounds.mdl", "fas2_ammo_medical", 20000, 1, false, 50, false, {TEAM_QUINCA})
AddCustomShipment("PSO 1", "models/Items/BoxSRounds.mdl", "fas2_att_pso1", 500, 1, false, 50, false, {TEAM_QUINCA})
Code:
-- Gilet par balle TEAM_POLICIERA
AddCustomShipment("Gilet par balle leger", "models/combine_vests/elitevest.mdl", "light kevlar armor", 4000, 1, false, 0, false, {TEAM_VENDEUR,TEAM_VENDEURILL,TEAM_QUINCA})
AddCustomShipment("Gilet par balle moyen", "models/combine_vests/elitevest.mdl", "light kevlar armor", 6000, 1, false, 0, false, {TEAM_VENDEUR,TEAM_VENDEURILL,TEAM_QUINCA})
AddCustomShipment("Gilet par balle lourd", "models/combine_vests/elitevest.mdl", "medium kevlar armor", 10000, 1, false, 0, false, {TEAM_VENDEUR,TEAM_VENDEURILL,TEAM_QUINCA})
AddCustomShipment("Gilet par balle leger", "models/combine_vests/elitevest.mdl", "light kevlar armor", 1000, 1, false, 0, false, {TEAM_POLICIERA})
AddCustomShipment("Gilet par balle moyen", "models/combine_vests/elitevest.mdl", "medium kevlar armor", 1500, 1, false, 0, false, {TEAM_POLICIERA})
AddCustomShipment("Gilet par balle lourd", "models/combine_vests/elitevest.mdl", "heavy kevlar armor", 2500, 1, false, 0, false, {TEAM_POLICIERA})
Code:
TEAM_QUINCA = DarkRP.createJob("Quincailler", { color = Color(100, 40, 10, 255), model = { "models/humans/group02/player/temale_01.mdl", "models/humans/group02/player/temale_02.mdl", "models/humans/group02/player/tale_08.mdl", "models/humans/group02/player/tale_07.mdl", "models/humans/group02/player/tale_06.mdl", "models/humans/group02/player/tale_04.mdl", "models/humans/group02/player/tale_05.mdl", "models/humans/group02/player/tale_03.mdl", "models/humans/group02/player/tale_01.mdl", "models/lopez/lopez.mdl" }, description = [[Le vendeur d'armes est la seule personne qui peut vendre des armes a d'autres personnes. Assurez-vous que vous n'etes pas pris à vendre des armes a feu illegales au public! Vous pourriez etre arretez!]], weapons = {"weapon_arc_atmcard","itemstore_pickup"}, command = "quinca", max = 2, salary = 20, admin = 0, vote = false, hasLicense = false, candemote = true, -- CustomCheck medic = false, chief = false, mayor = false, hobo = false, cook = false, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) end
})