Advanced Customization

Adding New Tasks

You can add new tasks by simply defining them in the Config.Tasks table in the config.lua file.

Example of Adding a New Task:

    Config.Tasks[#Config.Tasks + 1] = {
    name = "VIPEscort",
    description = "Escort a VIP to their destination safely.",
    icon = "fas fa-user-shield",
    type = "vip_escort",
    vehicleSpawnLocation = vec4(150.0, -1045.0, 29.0, 340.0),
    startLocation = vector3(200.0, -1050.0, 30.0),
    deliveryLocation = vector3(400.0, -1500.0, 28.0),
    payment = 1500
}

This new task will require players to escort a VIP from one location to another, adding more variety to the available missions.

👍Integrating Custom Notifications (This is Not Available In Script But Available Soon)

If you want to use a different notification system other than ox_lib, you can customize the Notify function in client/main.lua.

Example of Custom Notification Integration:

luaCopy codefunction Notify(message, type)
    -- Replace with your custom notification logic
    exports['mythic_notify']:SendAlert(type, message)
end

This allows you to integrate your preferred notification system seamlessly into the Task Runner Script.

Last updated