Help with gun dealer shipment. (DarkRP)

I need help with the gun dealer shipments.
Since the new DarkRP 2.6 has come out they added this new category system.
I need to know how to add the category to this line:


AddCustomShipment("Colt 1911 Single", "models/weapons/s_dmgf_co1911.mdl", "m9k_colt1911", 550, 1, false, 0, false, {TEAM_GUN})

I tried to already do this:


AddCustomShipment("Colt 1911 Single", "models/weapons/s_dmgf_co1911.mdl", "m9k_colt1911", 550, 1, false, 0, false, {TEAM_GUN}, "Pistols")

and added this at the bottom of the lua file :


DarkRP.createCategory{
    name = "Pistols",
    categorises = "shipments",
    startExpanded = true,
    color = Color(0, 107, 0, 255),
    canSee = fp{fn.Id, true},
    sortOrder = 255,
}

But it still didnt work. Please help me with this!

From the darkrp wiki: “Note: the category must be created!”, I believe you do not have the category created.

Yes it is, i wrote it here:


DarkRP.createCategory{
    name = "Pistols",
    categorises = "shipments",
    startExpanded = true,
    color = Color(0, 107, 0, 255),
    canSee = fp{fn.Id, true},
    sortOrder = 255,
}