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

h

[复制链接]

升级进度: 41%

lizhuoda 发表于 2024-8-12 19:36:41 | 显示全部楼层 |阅读模式
请汉化以下东西,不改变原有代码https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
Config = {}

https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv


Config.Locale = "en" -- en,es,de or any language supporthttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
--FRAMEWORKhttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
Config.framework = 'ESX' -- ESX, QBCORE
https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6

Config.target = true -- use ox_target,qb-target with peds when interacting to Garage.https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
--GENERAL SETTINGhttps://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
Config.Mysql = 'oxmysql' -- "ghmattisql", "mysql-async", "oxmysql"https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
Config.VehicleShopCoord = {https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
    [1] = vec3(-35.65,-1095.9,26.4), --x , y, zhttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
    [2] = vec3(-1232.23,-349.45,37.32), --x , y, zhttps://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
} --x,y,z of the current vehicle shophttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
Config.use_RenzuCustoms = false -- Use renzu_customs getter and setter for Vehicle Propertieshttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
Config.ReturnDamage = true -- return visual damage when restoring vehicle from garagehttps://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
Config.RefreshOwnedVehiclesOnStart = true -- refresh vehicles store state (return any lost vehicles every server start (not script restart))https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
Config.ReturnPayment = 1000 -- a value to pay if vehicle is not in garage
https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H

Config.floatingtext = true -- use native floating text and marker to interact with garages (popui and floatingtext must be opposite settings) (popui must be false if this is true)

https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z 不影响正文阅读


Config.UsePopUI = false -- Create a Thread for checking playercoords and Use POPUI to Trigger Event, set this to false if using rayzone. Popui is originaly built in to RayZone -- DOWNLOAD https://github.com/renzuzu/renzu_popuihttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
Config.Quickpick = true -- if false system will create a garage shell and spawn every vehicle you previewhttps://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
Config.UniqueCarperGarage = false -- if false, show all vehicles to all garage location! else if true, Vehicles Saved in Garage A cannot be take out from Garage B for example.https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
Config.GarageKeys = true -- Enable Player to Give Public Garage Keys to enable vehicle sharing你好啊
-- BLIPS --https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
Config.BlipNamesStatic = true -- if true no more garage a garage b blip names from MAP , only says  Garagehttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
--GENERAL SETTINGhttps://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
https://pan.baidu.com/s/7Z8A9B0C1D2E3F4G5H6I

-- VEHICLE IMAGES
https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M

Config.use_renzu_vehthumb = true
https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh

https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
Config.Oxlib = true -- ox_lib https://github.com/overextended/ox_lib, for menus, contextmenu notification and etc.. if this is disable, it will use renzu_notify and renzu_contextmenuhttps://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
Config.Ox_Inventory = true -- ox_inventory for vehicle keys as item https://github.com/overextended/ox_inventory if this is enable, vehiclekeys command will be disable as vehicle sharing is now item basedhttps://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
-- OX INV and ox lib is in BETA for this resource. use it in your own accord its enable by default if resource is started.https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
-- everytime you get a vehicle from garage you will receive a item key.https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
-- everytime you store vehicle (only public and private) item key will be removed.https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
-- item are added without the checks if slots is full.https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
-- the item works on other players. can use keylocks, park (real park and parkmeter), store vehicle, unpark vehicle.
  • https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5

  • Config.Renzu_jobs = false -- Job business Impound (impound only for now)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
    Config.EnableImpound = true -- enable/disable impoundhttps://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
    Config.EnableHeliGarage = true -- enable/disable Helishttps://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
    Config.PlateSpace = true -- enable / disable plate spaces (compatibility with esx 1.1?)https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
    Config.Realistic_Parking = true
    https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K

    Config.ParkButton = 45 -- Rhttps://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
    Config.EnableReturnVehicle = true -- enable / disable return vehicle featurehttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
    Config.DefaultPlate = 'ROLEPLAY' -- default plate being used to default_vehicles args
  • https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4

  • https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4

  • -- MARKERhttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
    Config.UseMarker = true -- Drawmarker
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2

    Config.MarkerDistance = 20 -- distance to draw the marker
    https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M

    --MARKER
  • https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9

  • https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
    -- PROPERTY / HOUSING GARAGEhttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
    Config.EnablePropertyCoordGarageCoord = false  -- set to false if you will use custom exports and events

    https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9

    https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M


    Config.HousingBlips = falsehttps://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
    -- TriggerEvent('renzu_garage:property',"Forum Drive 11/Apt13", vector3(-1053.82, -933.09, 3.36)) -- example manual trigger不影响正文阅读
    Config.PropertyQuickPick = true -- quickpick -- deprecated method 1.72
    https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5

    Config.UniqueProperty = true -- if enable , only stored vehicles in this Property ID will be show -- deprecated 1.72https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
    Config.PrivateHousingGarageEnable = true -- will use IPL garages , small, medium, large (same with private garage) if this is false, it will use normal garage function like Public garage, quick pick menuhttps://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
    https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
    -- PARKING METER (WIP)https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
    Config.ParkingMeter = true -- use configure parking props and park near by themhttps://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
    Config.ParkingAnywhere = true -- if this is true ParkingMeter Prop Feature will be replacedhttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
    -- ParkingAnywhere is like a realistic parking but by using /park command or /parkingmaterhttps://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
    -- you can park anywhere using /parkhttps://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
    Config.MeterProp = {
    https://pan.baidu.com/s/7Z8A9B0C1D2E3F4G5H6I

        [1] = 'prop_parknmeter_01',https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
        [2] = 'prop_parknmeter_02',https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
    }https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
    Config.MeterPayment = 5000https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
  • https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5

  • -- FEAT 1.71, a lot of functions here used One Sync State bags, One Sync must be enablehttps://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
    https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
    -- GarageKeyshttps://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
    Config.GarageKeysCommand = 'garagekeys' -- command to call garagekeys UIhttps://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
    -- /garagekeys -- to givehttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
    -- /garagekeys manage -- to open shared garagehttps://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh

    -- Vehicle Keys --https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
    Config.VehicleKeysCommand = 'vehiclekeys' -- command to call vehiclekeys ui
    https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C

    Config.EnableKeySystem = true -- Main Key System Config, if this is disable , a lot of feature of lock and hotwire will not workhttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
    Config.LockAllLocalVehicle = true -- lock all vehicles in area if not unlocked state (This are not looped, its being locked only when you Press F) (if you are using F Keybind in other script, this might not work properly) ex. in renzu_hud, F is being used, you may need to disable it there.https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
    Config.LockParkedLocalVehiclesOnly = true -- if this is true and Config.LockAllLocalVehicle is true, its useless, this is useful if Config.LockAllLocalVehicle is false and this is truehttps://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
    Config.EnableLockpick = true -- enable lock pick item and command functionhttps://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
    Config.EnableDuplicateKeys = true -- Carlock Purpose and to bypass hotwiredhttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
    Config.GiveKeystoMissionEntity = true -- important if you dont want to hotwire mission vehicle, eg. trucker, taxi, delivery vehicles. (this will give car lock too)https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J
    Config.RequestDuplicateCoord = {https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
        [1] = vec3(218.74,-811.37,30.65), --x , y, z -- where the player can request duplicate keys
    https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6

    }https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
    Config.RemoveKeys = true -- remove keys upon storing vehiclehttps://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
    --Hotwire
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2

    Config.EnableHotwire = true -- enable hotwire if keys is not present in state
    https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7

    Config.HotwireLevel = 5 -- how many pins to complete (renzu_lockgame) https://github.com/renzuzu/renzu_lockgamehttps://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
    -- Lockpickhttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
    Config.EnableLockpickCommand = true -- enable / disable command
    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh

    Config.LockpickCommand = 'lockpick' -- command namehttps://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
    Config.LockpickItem = 'lockpick' -- itemname -- makesure you register thishttps://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T
    Config.LockpickLevel = 3 -- how many pins to completehttps://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
    -- Fail Alerthttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
    Config.EnableAlert = true
  • https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y

  • Config.AlertJob = 'police'https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
    Config.FailAlert = function() -- linden outlaw alert are preconfigured (please correct this , i might be wrong) https://github.com/thelindat/linden_outlawalert

    https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1 https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9


        local data = {displayCode = '211', description = 'Carjacking', isImportant = 0, recipientList = {Config.AlertJob}, length = '10000', infoM = 'fa-info-circle', info = 'Ongoing Carnapping'}
  • https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7

  •     local dispatchData = {dispatchData = data, caller = 'Alarm', coords = GetEntityCoords(PlayerPedId())}https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
        TriggerServerEvent('wf-alerts:svNotify', dispatchData)

    https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9 https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5


        print("SENT ALERT")https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
    end
    https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W

    https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
    -- Carlock不影响正文阅读
    Config.CarlockKey = 'J' -- Keyboard (changable in keybinds FIVEM setting)
    https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv

    https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
    -- Variables
    https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8

    Message = Locale[Config.Locale]https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
    -- NOTIFYhttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
    Config.Renzu_notify = true -- if false we will use default framework notification
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2

    Config.Notify = function(type,msg,xPlayer)https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
        if Config.Oxlib and not IsDuplicityVersion() then
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2

            if type == 'info' then type = 'inform' end -- nice logichttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
            lib.notify({https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
                title = 'Garage',https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
                description = msg,https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
                status = typehttps://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J
            })https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
        elseif Config.Oxlib and IsDuplicityVersion() then

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


            TriggerClientEvent('renzu_garage:notify', xPlayer.source, type, msg)https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
        elseif Config.Renzu_notify and not IsDuplicityVersion() then
    https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M

            TriggerEvent('renzu_notify:Notify', type,Message[2], msg)https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
        elseif Config.Renzu_notify and IsDuplicityVersion() thenhttps://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
            TriggerClientEvent('renzu_notify:Notify', xPlayer.source, type,Message[2], msg)https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
        elseif not Config.Renzu_notify and not IsDuplicityVersion() thenhttps://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
            ShowNotification(msg)https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
        elseif not Config.Renzu_notify and xPlayer then
    https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H

            xPlayer.showNotification(msg)https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
        endhttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
    end
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2

    https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
    if not IsDuplicityVersion() thenhttps://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
        if GetResourceState('ox_lib') ~= 'started' then

    https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef


            cache = {}这是干扰码
        endhttps://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
        ESX = nilhttps://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
        QBCore = nil
    https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2

        fetchdone = false

    https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6


        PlayerData = {}
    https://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V

        playerLoaded = false
    https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7

        TriggerServerCallback_ = nil
    不要乱来哦

        vehicletable = 'owned_vehicles'
    https://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R

        vehiclemod = 'vehicle'
    https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C

        owner = 'owner'https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V
        stored = 'stored'
    https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C

        garage__id = 'garage_id'https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
        type_ = 'type'https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
        Zones = {}https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
        cancel = falsehttps://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
        LastVehicleFromGarage = nil garageid = 'A' inGarage = false ingarage = false garage_coords = {} shell = nil ESX = nil fetchdone = false PlayerData = {} playerLoaded = false canpark = false spawned_cars = {} vtype = 'car' vehiclesdb = {} tid = 0 propertygarage = false parkmeter = {} jobgarages = {} coordcache = {} propertyspawn = {} lastcat = nil deleting = false housingcustom = nil garage_public = false shell = nil i = 0 vehtable = {} garage_id = 'A' meter_cars = {} inshell = false patrolcars = {} cat = nil OwnedVehicles = {} VTable = {} owned_veh = {} neargarage = false markers = {} drawsleep = 1 drawtext = false indist = false jobgarage = false garagejob = nil ispolice = false vhealth = 1000 myoldcoords = nil spawnedgarage = {} shell = nil i = 0 vehtable = {} garage_id = 'A' min = 0 max = 10 plus = 0 countspawn = 0 opened = false newprop = nil object = nil insidegarage = true private_garages = {} activeshare = nil currentprivate = nil carrymode = false carrymod = false tostore = {} vehicleinarea = {} impoundata = nil parkedvehicles = {} vehiclekeysdata = nil entering = false garagekeysdata = nil

    https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0


    end
    https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5

    https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv https://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A
    https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8

    https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9

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

    使用道具 举报

    ChatGPT 发表于 2024-8-12 19:37:14 | 显示全部楼层
    Config = {}
    Config.Locale = "zh" -- en,es,de 或任何支持的语言
    --框架
    Config.framework = 'ESX' -- ESX, QBCORE
    Config.target = true -- 与车库交互时使用 ox_target,qb-target 与 NPC。
    --一般设置
    Config.Mysql = 'oxmysql' -- "ghmattisql", "mysql-async", "oxmysql"
    Config.VehicleShopCoord = {
         = vec3(-35.65,-1095.9,26.4), --x , y, z
         = vec3(-1232.23,-349.45,37.32), --x , y, z
    } -- 当前车辆商店的 x,y,z 坐标
    Config.use_RenzuCustoms = false -- 使用 renzu_customs 获取和设置车辆属性
    Config.ReturnDamage = true -- 从车库恢复车辆时返回可视损坏
    Config.RefreshOwnedVehiclesOnStart = true -- 在服务器启动时刷新车辆存储状态(返回任何丢失的车辆)
    Config.ReturnPayment = 1000 -- 如果车辆不在车库中要支付的金额
    Config.floatingtext = true -- 使用原生浮动文本和标记与车库交互(popui 和 floatingtext 必须是相反的设置)(如果这是真的,popui 必须为假)
    Config.UsePopUI = false -- 创建一个线程检查玩家坐标并使用 POPUI 触发事件,如果使用 rayzone,请将此设置为 false。Popui 原本内置于 RayZone -- 下载 https://github.com/renzuzu/renzu_popui
    Config.Quickpick = true -- 如果为 false,系统将创建一个车库外壳并生成您预览的每辆车
    Config.UniqueCarperGarage = false -- 如果为 false,则所有车库位置都显示所有车辆!否则,如果为 true,Garage A 中保存的车辆不能从 Garage B 拿出,例如。
    Config.GarageKeys = true -- 允许玩家给公共车库钥匙以启用车辆共享
    -- 标记 --
    Config.BlipNamesStatic = true -- 如果 true,地图上不再显示车库 A 和车库 B 的标记名称,只显示车库
    --一般设置
    
    -- 车辆图片
    Config.use_renzu_vehthumb = true
    
    Config.Oxlib = true -- ox_lib https://github.com/overextended/ox_lib,用于菜单、上下文菜单通知等。如果禁用,将使用 renzu_notify 和 renzu_contextmenu
    Config.Ox_Inventory = true -- ox_inventory 用于车辆钥匙作为物品 https://github.com/overextended/ox_inventory 如果启用,vehiclekeys 命令将被禁用,因为车辆共享现在基于物品
    -- OX INV 和 ox lib 是此资源的测试版。请根据自己的判断使用,默认情况下启用。
    -- 每次从车库获取车辆时,您将收到一个物品钥匙。
    -- 每次存储车辆(仅公共和私人)物品钥匙将被移除。
    -- 物品在没有检查插槽是否已满的情况下添加。
    -- 该物品适用于其他玩家。可以使用钥匙锁、停车(真正的停车和停车计)、存放车辆、取回车辆。
    Config.Renzu_jobs = false -- 职业业务扣押(目前仅限扣押)
    Config.EnableImpound = true -- 启用/禁用扣押
    Config.EnableHeliGarage = true -- 启用/禁用直升机仓库
    Config.PlateSpace = true -- 启用/禁用车牌空间(与 esx 1.1 兼容?)
    Config.Realistic_Parking = true
    Config.ParkButton = 45 -- R
    Config.EnableReturnVehicle = true -- 启用/禁用返回车辆功能
    Config.DefaultPlate = 'ROLEPLAY' -- 默认使用的车牌
    
    -- 标记
    Config.UseMarker = true -- 绘制标记
    Config.MarkerDistance = 20 -- 绘制标记的距离
    --标记
    
    -- 物业/住房车库
    Config.EnablePropertyCoordGarageCoord = false  -- 如果将使用自定义导出和事件,则设置为 false
    Config.HousingBlips = false
    -- TriggerEvent('renzu_garage:property',"Forum Drive 11/Apt13", vector3(-1053.82, -933.09, 3.36)) -- 示例手动触发
    Config.PropertyQuickPick = true -- 快速选择 -- 废弃方法 1.72
    Config.UniqueProperty = true -- 如果启用,仅在此物业 ID 中存储的车辆将显示 -- 废弃 1.72
    Config.PrivateHousingGarageEnable = true -- 将使用 IPL 车库,小型、中型、大型(与私人车库相同)如果为 false,则将使用正常车库功能,像公共车库、快速选择菜单
    
    -- 停车计(正在进行中)
    Config.ParkingMeter = true -- 使用配置停车道具并在附近停车
    Config.ParkingAnywhere = true -- 如果为 true,ParkingMeter 属性功能将被替换
    -- ParkingAnywhere 就像真实的停车,但通过使用 /park 命令或 /parkingmeter
    -- 您可以使用 /park 在任何地方停车
    Config.MeterProp = {
         = 'prop_parknmeter_01',
         = 'prop_parknmeter_02',
    }
    Config.MeterPayment = 5000
    
    -- 功能 1.71,许多函数在这里使用 One Sync 状态袋,必须启用 One Sync
    
    -- 车库钥匙
    Config.GarageKeysCommand = 'garagekeys' -- 调用车库钥匙 UI 的命令
    -- /garagekeys -- 给与
    -- /garagekeys manage -- 打开共享车库
    
    -- 车辆钥匙 --
    Config.VehicleKeysCommand = 'vehiclekeys' -- 调用车辆钥匙 UI 的命令
    Config.EnableKeySystem = true -- 主钥匙系统配置,禁用后,许多锁定和热接功能将无法使用
    Config.LockAllLocalVehicle = true -- 如果未解锁状态,则锁定区域内的所有车辆(这不是循环的,仅在您按 F 时锁定)(如果您在其他脚本中使用 F 键绑定,这可能无法正常工作),例如,在 renzu_hud 中,F 被使用,您可能需要在那里禁用它。
    Config.LockParkedLocalVehiclesOnly = true -- 如果为 true 且 Config.LockAllLocalVehicle 为 true,则无用,如果 Config.LockAllLocalVehicle 为 false 且此为 true,则有用
    Config.EnableLockpick = true -- 启用撬锁物品和命令功能
    Config.EnableDuplicateKeys = true -- 汽车锁用途和绕过热接
    Config.GiveKeystoMissionEntity = true -- 重要,如果不想热接任务车辆,例如货车、出租车、送货车辆。(这也会给汽车锁)
    Config.RequestDuplicateCoord = {
         = vec3(218.74,-811.37,30.65), --x , y, z -- 玩家可以请求复制钥匙的位置
    }
    Config.RemoveKeys = true -- 存放车辆时移除钥匙
    --热接
    Config.EnableHotwire = true -- 如果钥匙不在状态中,启用热接
    Config.HotwireLevel = 5 -- 完成所需的引脚数量(renzu_lockgame)https://github.com/renzuzu/renzu_lockgame
    -- 撬锁
    Config.EnableLockpickCommand = true -- 启用/禁用命令
    Config.LockpickCommand = 'lockpick' -- 命令名称
    Config.LockpickItem = 'lockpick' -- 物品名称 -- 确保您注册了这个
    Config.LockpickLevel = 3 -- 完成所需的引脚数量
    -- 失败警报
    Config.EnableAlert = true
    Config.AlertJob = 'police'
    Config.FailAlert = function() -- linden outlaw alert 已预配置(请纠正此错误,我可能错了) https://github.com/thelindat/linden_outlawalert
        local data = {displayCode = '211', description = '汽车盗窃', isImportant = 0, recipientList = {Config.AlertJob}, length = '10000', infoM = 'fa-info-circle', info = '正在进行的车辆盗窃'}
        local dispatchData = {dispatchData = data, caller = '警报', coords = GetEntityCoords(PlayerPedId())}
        TriggerServerEvent('wf-alerts:svNotify', dispatchData)
        print("已发送警报")
    end
    
    -- 车锁
    Config.CarlockKey = 'J' -- 键盘(可以在 keybinds FIVEM 设置中更改)
    
    -- 变量
    Message = Locale
    
    -- 通知
    Config.Renzu_notify = true -- 如果为 false,我们将使用默认框架通知
    Config.Notify = function(type,msg,xPlayer)
        if Config.Oxlib and not IsDuplicityVersion() then
            if type == 'info' then type = 'inform' end -- 很好的逻辑
            lib.notify({
                title = '车库',
                description = msg,
                status = type
            })
        elseif Config.Oxlib and IsDuplicityVersion() then
            TriggerClientEvent('renzu_garage:notify', xPlayer.source, type, msg)
        elseif Config.Renzu_notify and not IsDuplicityVersion() then
            TriggerEvent('renzu_notify:Notify', type,Message, msg)
        elseif Config.Renzu_notify and IsDuplicityVersion() then
            TriggerClientEvent('renzu_notify:Notify', xPlayer.source, type,Message, msg)
        elseif not Config.Renzu_notify and not IsDuplicityVersion() then
            ShowNotification(msg)
        elseif not Config.Renzu_notify and xPlayer then
            xPlayer.showNotification(msg)
        end
    end
    
    if not IsDuplicityVersion() then
        if GetResourceState('ox_lib') ~= 'started' then
            cache = {}
        end
        ESX = nil
        QBCore = nil
        fetchdone = false
        PlayerData = {}
        playerLoaded = false
        TriggerServerCallback_ = nil
        vehicletable = 'owned_vehicles'
        vehiclemod = 'vehicle'
        owner = 'owner'
        stored = 'stored'
        garage__id = 'garage_id'
        type_ = 'type'
        Zones = {}
        cancel = false
        LastVehicleFromGarage = nil garageid = 'A' inGarage = false ingarage = false garage_coords = {} shell = nil ESX = nil fetchdone = false PlayerData = {} playerLoaded = false canpark = false spawned_cars = {} vtype = 'car' vehiclesdb = {} tid = 0 propertygarage = false parkmeter = {} jobgarages = {} coordcache = {} propertyspawn = {} lastcat = nil deleting = false housingcustom = nil garage_public = false shell = nil i = 0 vehtable = {} garage_id = 'A' meter_cars = {} inshell = false patrolcars = {} cat = nil OwnedVehicles = {} VTable = {} owned_veh = {} neargarage = false markers = {} drawsleep = 1 drawtext = false indist = false jobgarage = false garagejob = nil ispolice = false vhealth = 1000 myoldcoords = nil spawnedgarage = {} shell = nil i = 0 vehtable = {} garage_id = 'A' min = 0 max = 10 plus = 0 countspawn = 0 opened = false newprop = nil object = nil insidegarage = true private_garages = {} activeshare = nil currentprivate = nil carrymode = false carrymod = false tostore = {} vehicleinarea = {} impoundata = nil parkedvehicles = {} vehiclekeysdata = nil entering = false garagekeysdata = nil
    end
    回复

    使用道具 举报

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

    本版积分规则

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

    GMT+8, 2024-9-20 21:23 , Processed in 0.068241 second(s), 9 queries , Redis On.

    Powered by Discuz! X3.4

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

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