1. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

Shipment's giving an error.

Discussion in 'DarkRP Modding Questions & Help' started by masterdoom1001, Jun 17, 2017.

  1. masterdoom1001

    masterdoom1001 New Member

    I keep receiving a lot of errors around the shipments I create that says something similar to
    I tried googling but I couldn't find anything related to the problem.
    The shipment code is
    Code (Text):
    DarkRP.createShipment("Desert Eagle", {
        model = "models/weapons/w_tcom_deagle.mdl",
        entity = "m9k_deagle",
        amount = 10,
        price = 10800,
        separate = true,
        pricesep = 1200,
        noship = false,
        category = "Sidearms",
        allowed = {TEAM_GUN}
    The category for that weapon is
    Code (Text):
        name = "Sidearms",
        categorises = "weapons",
        startExpanded = true,
        color = Color(255, 255, 255, 255),
        canSee = function(ply) return table.HasValue({TEAM_GUN}, ply:Team()) end,
        sortOrder = 1,

Share This Page