Taksicilik

Rehber


Config

qb-taxijob
Config = {

    jobRequired = 'taxi',

    Management = false, -- if true, the money gained from the trips, will go to the boss menu funds

    -- set this to false if you want to use distance checks
    UseTarget = GetConvar('UseTarget', 'false') == 'true',

    DefaultTextLocation = 'left', -- left, right, top

    AllowedVehicles = {
        [1] = {
            model = 'taxi',
            label = Lang:t('info.taxi_label_1')
        },
    },

    Meter = {
        ['defaultPrice'] = 30.0, -- price per mile
        ['startingPrice'] = 0     -- static starting price
    },

    -- Location = vector3(909.5, -177.35, 74.22),     -- map blip position
    parkLocation = vector3(909.5, -177.35, 74.22), -- vehicle garage location

    Duty = vector3(894.88, -179.22, 74.7),

    Advanced = {
        Bonus = {
            Enabled = true,
            Percentage = 0,    -- bonus in % for intact vehicle
        },
        Speech = {
            Enabled = true,
            Angry = 'GENERIC_INSULT_HIGH',
            Scared = 'GENERIC_FRIGHTENED_HIGH',
            Grateful = 'GENERIC_THANKS',
            Happy = 'GENERIC_HAPPY'
        },
        MinCabHealth = 750,     -- min vehicle health before mission stops
        MaxCrashesAllowed = 5,  -- amount of crashes before mission stops
    },

   
}

Last updated