Well I did a job a Gun Dealer, and I did a Heavy Gun Dealer job.
The thing here I did weapons that would be able to both gun dealers,
and apperently when I want to buy thouse weapons its writing me in one of the jobs that I am unable to do /buyshipment on the same weapon.
for example.
DarkRP.createShipment("PP19 Bizon", {
model = "models/weapons/w_pp19_bizon.mdl",
entity = "m9k_bizonp19",
price = doesnt metter
amount = 10,
separate = false,
pricesep = 0,
category = "SubmachineGuns",
allowed = {TEAM_HEAVYGUN},
})
----------------------------------------------------------------------------------------------------------
DarkRP.createShipment("Colt 1911", {
model = "models/weapons/s_dmgf_co1911.mdl",
entity = "m9k_colt1911",
price = doesnt metter
amount = 10,
separate = false,
pricesep = 0,
category = "Pistols",
allowed = {TEAM_NORMALGUN},
})
Then the heavy gun dealer could buy it but the normal gun dealer, can SEE it but unable to buyshipment only THIS weapon
I tried it when the normalgun team is above and the heavygun team is down, and it happend exactly vice versa..
means I CANNOT make the same tab for weaopn for a different job, aswell tried to add like this
allowed = {TEAM_NORMALGUN},
allowed = {TEAM_HEAVYGUN},
didnt worked
tried also
allowed = {TEAM_HEAVYGUN}, {TEAM_NORMALGUN},
didnt worked
also coma doesnt metter...
anyway of making two jobs with the same weapon to be able to purchase?
Will try.
[editline]10th August 2016[/editline]
Yup works! Thanks!!
Sorry, you need to Log In to post a reply to this thread.