Issue with Single Weapons

In the darkrpmodifications/lua/darkrp_customthings/shipments.lua I have the following code.


DarkRP.createShipment("HK USP", {
    model = "models/weapons/w_pist_fokkususp.mdl",
    entity = "m9k_usp",
    price = 500,
    amount = 1,
    separate = true,
    pricesep = 500,
    noship = true,
    allowed = {TEAM_LIGHTDEALER}
})

For some reason Its appearing for every job and not my allowed team, anyone have any ideas?

Bump +_+ still need help

noship = false,

I don’t want it to be a shipment though.

It won’t be. It will still show up in the crate, but the amount will still be 1.

No. It shows up as a shipment which with my f4 menu means that it goes under the shipments tab. My code works its not restricting it from other teams even when I have allowed = {TEAM_LIGHTDEALER}

http://wiki.darkrp.com/index.php/DarkRP:CustomShipmentFields

That’s not going to help considering I already know how to make a weapons shipment… The issue ls elsewhere.

Make sure your job in the script is put as TEAM_LIGHTDEALER