搜索
查看: 55|回复: 1
收起左侧

[有效回答] 翻一页

[复制链接]

升级进度: 70%

king1204 发表于 2024-5-16 22:01:59 | 显示全部楼层 |阅读模式
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
Config = {}
https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5

https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
--[[https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
▀█▀ █▀▀ █▀▀ ▀█ █▄█   █▀▀ █▀█ █▀█ █▀▀   █▀▄ █▀▀ █░█ █▀▀ █░░ █▀█ █▀█ █▀▄▀█ █▀▀ █▄░█ ▀█▀https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
░█░ ██▄ ██▄ █▄ ░█░   █▄▄ █▄█ █▀▄ ██▄   █▄▀ ██▄ ▀▄▀ ██▄ █▄▄ █▄█ █▀▀ █░▀░█ ██▄ █░▀█ ░█░https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
你好啊
https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3

Config.Lang = 'en'https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
Config.Debug = true                       -- if you want to see debug messages in console
  • https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1

  • https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
    Config.TargetResource = 'ox_target'       -- supported: ox_target, qb-targethttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
    Config.InventoryResource = 'ox_inventory' -- supported: ox_inventory, qb-inventory, ps-inventory, qs-inventoryhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
    Config.SQLResource = 'oxmysql'            -- supported: oxmysql, mysql-async, ghmattimysqlhttps://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
    https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
    Config.UseCommand = true                  -- if you want to use command to give starter pack to playerhttps://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
    Config.Command = 'starterpack'            -- command to give starter package to playerhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
    https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
    Config.UseTarget = true                   -- if you want to use target script to give starter pack to player
    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh

    Config.Target = {https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
        ped = 'a_m_y_business_03',            -- https://docs.fivem.net/docs/game-references/ped-models/

    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1


        label = 'Get your starter pack',
    https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7

        receiving_radius = 20.0,              -- radius to receive the starter packhttps://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
        coords = vec4(-1040.479126, -2731.582520, 20.164062, 238.110229),https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
        distance = 2.0,https://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
    }
    https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W

  • https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh

  • Config.StarterPackItems = { -- items that will be given to player
  • https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx

  •     { item = 'bread',    amount = 5 },
    https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O

        { item = 'water',    amount = 5 },

    https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd


        { item = 'phone',    amount = 1 },

    https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij


        { item = 'lockpick', amount = 5 },
    https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y

        { item = 'money',    amount = 5000 },
  • https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O

  • }https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
    https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
    Config.EnableStarterVehicle = true -- if you want to give starter vehicle to playerhttps://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
    Config.StarterVehicle = {https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
        model = 'adder',               -- https://docs.fivem.net/docs/game-references/vehicle-models/https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
        teleport_player = true,        -- player will be teleported to the vehiclehttps://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
        vehicle_spawns = {             -- vehicle spawn pointshttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
            ["1"] = vector4(-1039.02, -2727.53, 19.65, 243.17),https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
            ["2"] = vector4(-1043.3, -2725.09, 19.65, 241.12),https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
            ["3"] = vector4(-1047.57, -2722.66, 19.65, 240.54),
    https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S

            ["4"] = vector4(-1034.38, -2719.0, 19.65, 240.52),https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
            ["5"] = vector4(-1038.51, -2716.53, 19.64, 240.34),
    https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6

        },
  • https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G

  •     fuel = 100.0, -- fuel level of the vehiclehttps://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
    }https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9

    https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4

    https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7


    Config.EnableAlertDialog = true -- if you want to use alert dialog to give a short message to the playerhttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
    Config.Dialog = {https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
        title = 'TCD Roleplay Server',https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
        message = 'Welcome to the server, I hope you enjoy your stay. make sure to read the **rules** and have fun! \n\nDo you want to receive the starter pack?',
  • https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7

  • }
    https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd

    https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
    ---@param vehicle any
  • https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R

  • ---@param fuel numberhttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
    ---@decription Set fuel level of the vehicle by default it uses LegacyFuel
    https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G

    Config.SetFuel = function(vehicle, fuel)https://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
        exports.LegacyFuel:SetFuel(vehicle, fuel)https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
    endhttps://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
    https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3

    ---@param vehicle any
    https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F

    ---@return stringhttps://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
    ---@decription If you have a custom vehicle key system you can give the key to the player
  • https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3

  • Config.GiveKey = function(vehicle)https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
        local Core, Framework = GetCore()https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
        if Framework == "esx" then你好啊
            -- ESX Vehicle Key Systemhttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
        elsehttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
            TriggerEvent("vehiclekeys:client:SetOwner", Core.Functions.GetPlate(vehicle))https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
        endhttps://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
    endhttps://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B?pwd=tuv6
    https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
    Config.Notification = function(message, type, is_server, src)https://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A
        local Core, Framework = GetCore()https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
        if is_server thenhttps://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
            if Framework == "esx" then
    https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3

                TriggerClientEvent("esx:showNotification", src, message)
    https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst

            elsehttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
                TriggerClientEvent('QBCore:Notify', src, message, type, 5000)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
            end
    https://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L

        else
    https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh

            if Framework == "esx" then
  • https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4

  •             TriggerEvent("esx:showNotification", message)
    https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R

            elsehttps://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
                TriggerEvent('QBCore:Notify', message, type, 5000)https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
            end

    https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop


        end
  • https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L

  • endhttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
    https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
    Config.Locale = {https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
        ['en'] = {https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
            ['received'] = 'You have already received your starter pack',https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
            ['success'] = 'You have received your starter pack, Enjoy!',https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
            ['canceled'] = 'You have canceled the starter pack',https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
            ['not_near_receiving_point'] = 'You are not near the receiving point',https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
            ['no_available_spawn'] = 'Possible area for vehicle spawn is occupied',https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
            ['player_in_vehicle'] = 'You can\'t receive the starter pack while in the vehicle',https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
        },
    https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S

    }https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
  • https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G

  • https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij

    https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
    https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5

    https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U

    https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
    回复 论坛版权

    使用道具 举报

    ChatGPT 发表于 2024-5-16 22:02:09 | 显示全部楼层
    这段代码是一个配置文件,用于设置玩家加入游戏时的初始设置,包括语言、调试模式、使用的资源、是否使用命令或目标脚本来给玩家起始物品等等。其中包括了一些注释以及函数的定义和描述。此段代码应该是放在服务器的脚本文件server.lua中。
    回复

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|Archiver|小黑屋|首页 ( 冀ICP备2021005225号-1 ) |网站地图

    GMT+8, 2024-9-10 15:57 , Processed in 0.064451 second(s), 10 queries , Redis On.

    Powered by Discuz! X3.4

    © 2001-2013 ELITE论坛【技术无价-分享快乐】

    快速回复 返回顶部 返回列表