Shipments not working

Shipments arent working, no errors, this is my shipments.lua

Folder : addons/darkrpmodification/lua/darkrp_customthings ?


[editline]3rd April 2016[/editline]

Or do you want the files?

[editline]3rd April 2016[/editline]

Here it is

[editline]3rd April 2016[/editline]

And this is the darkrpmodification file. If needed

[lua]DarkRP.createShipment(“Mac 10”, {
model = “models/weapons/w_smg_mac10.mdl”,
entity = “weapon_mac102”,
price = 2150,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUN}

no category set idk if that would cause it

I also tried it with catergories

canSee = fp{fn.Id, true}, in your categories?

[editline]3rd April 2016[/editline]
name = “Pistols”,
categorises = “weapons”,
startExpanded = true,
color = Color(0, 107, 0, 255),
canSee = fp{fn.Id, true},
sortOrder = 100,

What do you mean, im not a lua scripter so i dont understand

what is this? canSee = fp{fn.Id, true},
it seems like something that is blocking your shipments from showing up under any category if you do not know what that is then remove that line from all your shipments

I removed the lines but it still didnt work

then there is an errors on the server, find it

There are no error, host also had a look and couldnt find any

Remove that. Add m9k and just paste in this code -

All m9k shipments.

Also didnt work

Did you install M9K?

Yes, and it is working in the jobs

reinstall darprpmodification

also didnt work

DarkRP.createShipment("Mac-10", {
   model = "models/weapons/w_smg_mac10.mdl",
   entity = "weapon_mac102",
   price = 2150,
   amount = 10,
   separate = false,
   pricesep = ,
   noship = false,
   allowed = {TEAM_GUN},
   -- CustomCheck

That code works for a shipment of Mac10s, make sure you have those weapons turned in your DarkRP settings. If that dosen’t work, would you mind telling the exact problem.(Like takes your money, but dosent spawn. Or spawns, but you cant pick up the gun.)

It doesnt showup in the shipment list. And i’m now using the m9k weapons and not the darkrp weapons

Try this TCB might be able to help, it’s what I use.