CodeM 赛车系统 赛车平板 创建赛道 赛车

CodeM 赛车系统 赛车平板 创建赛道 赛车

CodeM 赛车系统 赛车平板 创建赛道

3fb2db6ccc20250511004901

 

Config                              = {}

Config.Framework                    = 'qb'      -- esx, oldesx, qb, oldqb
Config.SQL                          = "oxmysql" -- oxmysql, ghmattimysql, mysql-async
Config.LeaderBoardUpdateInterval    = 250
Config.ExampleProfilePicture        = "https://cdn.discordapp.com/attachments/1063175024992858253/1214718767448461393/image_5.png?ex=65fa2202&is=65e7ad02&hm=b9d47b7b72415a6cfa37fdf8869ea07c26276b07faa59d3d49dd2ed3adebba0e&"
Config.Lap                          = 3
Config.InteractionHandler           = 'qb-target' --  qb-target, drawtext,ox-target
Config.CheckReadyDistance           = 100.0
Config.StartGPoint                  = 100         -- Start Gpoint
Config.MinimumDistanceBetweenRoutes = 8.0
Config.GhostMode                    = true
Config.ChangerUserName              = true -- Change username in the database
Config.ResetDriftPointTimerBetweenCheckpoint = 7500 -- ms
Config.RaceAwardGPoint              = 100
Config.JobForCreateRace             = {
    enabled = true,
    job = "police",
}
Config.Inventory                    = "codem-inventory" -- qs-inventory / qb-inventory / custom
Config.Item                         = {
    enabled = false,
    name = "tablet",
    command = "tablet",
}

Config.Materials = {
    {
        name = "Nitrous",
        item = "nitrous",
        image = "https://cdn.discordapp.com/attachments/1172637627279757394/1213822635163648050/large1.png?ex=65f6df6b&is=65e46a6b&hm=f75b09577a487cec19187712466b2781571b685453960ac785a45f8848a3c3ac&",
        price = 200,
        index = 1,
        count = 1,
    }
}

Config.MinimumCheckpoint            = 7

Config.Commands = {
    ["addgpoint"] = "addgpoint",
    ["removegpoint"] = "removegpoint",
    ["addgvpoint"] = "addgvpoint",
    ["removegvpoint"] = "removegvpoint"
}


Config.KeyControl                   = {
    ['ready'] = { key = 38, keyname = "E", label = 'Ready' },
    ['golive'] = { key = 170, keyname = "F3", label = 'Go Live' },
    ['startrace'] = { key = 101, keyname = "H", label = 'Start Race' },
    ['exitrace'] = { key = 178, keyname = "DEL", label = 'Exit Race' },
}

Config.RaceProps                    = {
    ['default'] = 'prop_beachflag_le',
    ['random'] = {
        'prop_offroad_tyres02',
        'tr_prop_tr_races_barrel_01a',
        'prop_mk_race_chevron_03',
        'prop_beachflag_le',
    }
}
Citizen.CreateThread(function()
    function customToLower(str)
        str = str:gsub("İ", "i")
        str = str:gsub("I", "i")
        return str:lower()
    end
end)


Config.RaceTypeLocales    = {
    ['sprint'] = 'Sprint',
    ['circut'] = 'Circut',
    ['drift'] = 'Drift',
    ['duel'] = 'Duel'
}

Config.VehicleClassLocale = {
    ['all'] = "All",
}

Config.AwardsLocale       = {
    ["takesall"] = "Winner Takes All",
    ["top3equal"] = "Top 3 Equal",
    ["top3descending"] = "Top 3 Descending"
}

Config.BannedWord         = { "bannedword1", "bannedword2", "bannedword3", "lmfao" }

Config.gStoreSwiper       = {
    {
        brand = "ANNIS",
        name = "ELEGY RETRO",
        model = "elegy",
        garage = "Garage A",
        gPoint = 52310,
        gVipPoint = 100,
        image = "elegy.png",
    },
    {
        brand = "PROGEN",
        name = "T20",
        model = "t20",
        garage = "Garage A",
        gPoint = 152310,
        gVipPoint = 100,
        image = "t20.png",
    },
    {
        brand = "DECLASE",
        name = "TAMPA DRIFT KING",
        model = "tampa2",
        garage = "Garage A",
        gPoint = 152310,
        gVipPoint = 100,
        image = "tampa2.png",
    },
}

Config.hotDeals           = {
    {
        class = "B",
        brand = "TRUFFADE",
        name = "ADDER",
        model = "adder",
        garage = "Garage A",
        gPoint = 12500,
        gVipPoint = 100,
    },
    {
        class = "C",
        brand = "KARIN",
        name = "SULTAN RS",
        model = "sultanrs",
        garage = "Garage A",
        gPoint = 12500,
        gVipPoint = 100,
    },
    {
        class = "C",
        brand = "PAGASSI",
        name = "ZENTORNO",
        garage = "Garage A",
        model = "zetorno",
        gPoint = 12500,
        gVipPoint = 100,
    }
}
© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片快捷回复

    暂无评论内容