Accessible code

Config = {
    Notify = {
        duration = 5000, -- miliseconds
        position = 'top-right' -- 'top' or 'top-right' or 'top-left' or 'bottom' or 'bottom-right' or 'bottom-left' or 'center-right' or 'center-left'
    },

    RentVehicle = {
        Model = "taxi",
        Price = 500, -- price for rent
        SpawnLocation = {
            x = 916.7601,
            y = -170.5526,
            z = 74.0686,
            heading = 102.4279
        },
        Time = 300, -- for how long player can be out of vehicle in order not to stop the job
    },
    
    NPCMissions = {
        PaymentSplit = {
            enabled = true,     -- if true, money will be split between driver and society
            societyPercentage = 50,  -- percentage that goes to society (0-100)
            driverPercentage = 50    -- percentage that goes to driver (0-100)
        }
    },

    PricePerMeter = 0.5,
    NPC_Reward = 500, -- reward for driving npcs (government order)
    CompanyPrice = 500000,
    
    Target = {
        PedCoords = vector4(885.2797, -177.6391, 74.7003, 233.7115),
        ped = "a_m_y_business_03",
        distance = 5
    },

    NeedJob = false,
    JobName = "taxi", -- only if Config.NeedJob is true
    
    Wardrobe = {
        Enabled = true,
        Uniforms = {
            male = {
                outfitName = "Taxi Driver Male",
                components = {
                    [3] = {drawable = 11, texture = 0},   -- Torso
                    [4] = {drawable = 35, texture = 0},   -- Legs
                    [6] = {drawable = 10, texture = 0},   -- Shoes
                    [8] = {drawable = 15, texture = 0},   -- Undershirt
                    [11] = {drawable = 13, texture = 0},  -- Top
                }
            },
            female = {
                outfitName = "Taxi Driver Female",
                components = {
                    [3] = {drawable = 9, texture = 0},    -- Torso
                    [4] = {drawable = 34, texture = 0},   -- Legs
                    [6] = {drawable = 9, texture = 0},    -- Shoes
                    [8] = {drawable = 15, texture = 0},   -- Undershirt
                    [11] = {drawable = 86, texture = 0},  -- Top
                }
            }
        },
        Location = vector3(894.4448, -181.0158, 75.7002), -- Location of the wardrobe marker
        Marker = {
            type = 20,
            size = {x = 0.7, y = 0.7, z = 0.7},
            color = {r = 255, g = 255, b = 255, a = 100}
        }
    }
}

function giveVehicleKeys(vehicle)
    -- presetuped for ESX & QB frameworks
end

-- Framework
-- your framework loading here

Last updated