Config file

--[[ 
    this script needs tgiann-core script to work, you can download the script from your keymaster account
    Start tgiann-core script after es_extented/qb-core script and before tgiann-* scripts
    Adjust the tgiann-core config file according to the framework you are using
]]

tgiCoreExports = exports["tgiann-core"]
config = tgiCoreExports:getConfig()
config.money = 20
config.scooterModel = `serv_electricscooter`
config.location = {
    {
        coord = vector4(307.661530, -238.931870, 54.150146, 102.047249),
        active = true
    },
    {
        coord = vector4(306.74, -237.34, 54.15, 116.15),
        active = true
    },
    {
        coord = vector4(305.77, -235.89, 54.13, 119.75),
        active = true
    },
}
config.spawnDist = 100

config.customPlate = true -- replaces the vehicle's license plate with a license plate you set
config.customPlateText = "%sSRENT" -- The player's id is always prefixed to the plate

config.freezeScooter = true -- when scooter spawn it freezes it

config.dropItAnywhere = false -- If set to true, players can leave the scooter wherever they want, If set to false it can just leave it near the prop(propHashList)
config.dropDist = 2 --
config.propHashList = {
    `prop_streetlight_01`,
    `prop_streetlight_01b`,
    `prop_streetlight_02`,
    `prop_streetlight_03`,
    `prop_streetlight_03b`,
    `prop_streetlight_03c`,
    `prop_streetlight_03d`,
    `prop_streetlight_03e`,
    `prop_streetlight_04`,
    `prop_streetlight_05`,
    `prop_streetlight_05_b`,
    `prop_streetlight_06`,
    `prop_streetlight_07a`,
    `prop_streetlight_07b`,
    `prop_streetlight_08`,
    `prop_streetlight_09`,
    `prop_streetlight_10`,
    `prop_streetlight_11a`,
    `prop_streetlight_11b`,
    `prop_streetlight_11c`,
    `prop_streetlight_12a`,
    `prop_streetlight_12b`,
    `prop_streetlight_14a`,
    `prop_streetlight_15a`,
    `prop_streetlight_16a`,
}
config.drawTextDist = {
    max = 1.5,
    min = 1.0,
}

config.lang = "en"
config.langs = {
    en = {
        noClosestProp = "You can only tie the scooter to a street light",
        dollar = "$",
        rent = "~g~%s~w~Rent a Scooter | ~g~%s%s",
        noMoney = "You Don't Have Enough Money!",
    },
    tr = {
        noClosestProp = "Scooter'ı Sadece Bir Direğin Yanına Bağlayabilirsin",
        dollar = "$",
        rent = "~g~%s~w~Scooter'ı Kirala | ~g~%s%s",
        noMoney = "Yeterli Miktarda Paran Yok!",
    }
}

Last updated