Installation

The steps to correctly install this on your server.

Step 1 - Install Resource

Download the resource from your keymaster, add it to your resources in any folder of your choice.

Step 2 - Edit Target

Add the below to the end of Config.VehicleMenu in mythic-targeting.

{
    icon = 'truck-ramp-box',
    isEnabled = function(data, entityData)
        local veh = entityData.entity
        local vehEnt = Entity(veh)
        if DoesEntityExist(veh) and GetEntityModel(veh) == `boxville2` and not vehEnt.state.takenPackage then
            local deliverPos = Entity(veh).state.deliveryPos
            if deliverPos ~= nil and #(GetEntityCoords(veh, false) - vector3(deliverPos.x, deliverPos.y, deliverPos.z)) <= 100.0 then
                return IsNearTrunk(veh, 4.0)
            end
        end
        return false
    end,
    text = 'Delivery - Grab Package',
    event = 'Delivery:Client:GrabPackage',
    data = {},
    minDist = 2.0,
    jobs = false
},

Step 3 - Edit Config

  • If you have renamed mythic-base at all then you can edit the calls for that in ff_delivery/configs/shared.lua the field to edit is called SharedConfig.BaseName = "mythic-base". Just simply change the string content to the name of your mythic framework base.

  • (Requires ff_payment) - Head into ff_delivery/configs/server.lua and set ServerConfig.Payment = false to true if you wish to use our Mythic Payment system.

Step 4 - Ensuring Resource

Open your server.cfg file and at the bottom of your resources make sure to ensure the reason by typing ensure ff_delivery and then saving your file.

Last updated