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

h

[复制链接]

升级进度: 41%

lizhuoda 发表于 2024-8-12 19:36:41 | 显示全部楼层 |阅读模式
请汉化以下东西,不改变原有代码

https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7 https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn


Config = {}https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
Config.Locale = "en" -- en,es,de or any language supporthttps://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
--FRAMEWORK
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1

Config.framework = 'ESX' -- ESX, QBCOREhttps://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
Config.target = true -- use ox_target,qb-target with peds when interacting to Garage.
  • https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1

  • --GENERAL SETTING
    https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1

    Config.Mysql = 'oxmysql' -- "ghmattisql", "mysql-async", "oxmysql"
  • https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2

  • Config.VehicleShopCoord = {https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
        [1] = vec3(-35.65,-1095.9,26.4), --x , y, zhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
        [2] = vec3(-1232.23,-349.45,37.32), --x , y, zhttps://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
    } --x,y,z of the current vehicle shophttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
    Config.use_RenzuCustoms = false -- Use renzu_customs getter and setter for Vehicle Propertieshttps://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
    Config.ReturnDamage = true -- return visual damage when restoring vehicle from garagehttps://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
    Config.RefreshOwnedVehiclesOnStart = true -- refresh vehicles store state (return any lost vehicles every server start (not script restart))
    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx

    Config.ReturnPayment = 1000 -- a value to pay if vehicle is not in garagehttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K
    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/8J9K0L1M2N3O4P5Q6R7S
    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/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
    Config.Quickpick = true -- if false system will create a garage shell and spawn every vehicle you previewhttps://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
    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/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
    Config.GarageKeys = true -- Enable Player to Give Public Garage Keys to enable vehicle sharinghttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
    -- BLIPS --

    https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J


    Config.BlipNamesStatic = true -- if true no more garage a garage b blip names from MAP , only says  Garage
  • https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx

  • --GENERAL SETTINGhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
    https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
    -- VEHICLE IMAGES

    https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7 https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T


    Config.use_renzu_vehthumb = true

    https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5

    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx


    https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
    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_contextmenu
    不影响正文阅读

    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/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
    -- 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/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
    -- everytime you get a vehicle from garage you will receive a item key.https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
    -- everytime you store vehicle (only public and private) item key will be removed.https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
    -- item are added without the checks if slots is full.
  • https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1

  • -- the item works on other players. can use keylocks, park (real park and parkmeter), store vehicle, unpark vehicle.https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
    Config.Renzu_jobs = false -- Job business Impound (impound only for now)https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
    Config.EnableImpound = true -- enable/disable impoundhttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
    Config.EnableHeliGarage = true -- enable/disable Helis

    https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y

    https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1


    Config.PlateSpace = true -- enable / disable plate spaces (compatibility with esx 1.1?)
    不影响正文阅读

    Config.Realistic_Parking = true

    https://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X


    Config.ParkButton = 45 -- Rhttps://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
    Config.EnableReturnVehicle = true -- enable / disable return vehicle feature

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


    Config.DefaultPlate = 'ROLEPLAY' -- default plate being used to default_vehicles argshttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
    https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
    -- MARKER
    https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl

    Config.UseMarker = true -- Drawmarker
    https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn

    Config.MarkerDistance = 20 -- distance to draw the markerhttps://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
    --MARKERhttps://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
    https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
    -- PROPERTY / HOUSING GARAGE

    https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P 哈哈


    Config.EnablePropertyCoordGarageCoord = false  -- set to false if you will use custom exports and eventshttps://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
    Config.HousingBlips = false
    https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q

    -- TriggerEvent('renzu_garage:property',"Forum Drive 11/Apt13", vector3(-1053.82, -933.09, 3.36)) -- example manual trigger

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


    Config.PropertyQuickPick = true -- quickpick -- deprecated method 1.72

    https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2


    Config.UniqueProperty = true -- if enable , only stored vehicles in this Property ID will be show -- deprecated 1.72
    https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M

    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/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
    https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q

    -- PARKING METER (WIP)https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
    Config.ParkingMeter = true -- use configure parking props and park near by themhttps://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
    Config.ParkingAnywhere = true -- if this is true ParkingMeter Prop Feature will be replacedhttps://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
    -- ParkingAnywhere is like a realistic parking but by using /park command or /parkingmater
  • https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N

  • -- you can park anywhere using /parkhttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
    Config.MeterProp = {https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
        [1] = 'prop_parknmeter_01',https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
        [2] = 'prop_parknmeter_02',https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
    }https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
    Config.MeterPayment = 5000https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
    https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
    -- FEAT 1.71, a lot of functions here used One Sync State bags, One Sync must be enable

    https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6 https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S


    https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8

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


    -- GarageKeys
    https://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D

    Config.GarageKeysCommand = 'garagekeys' -- command to call garagekeys UI
  • https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N

  • -- /garagekeys -- to give
    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx

    -- /garagekeys manage -- to open shared garage

    https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O

    https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1


    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
    -- Vehicle Keys --https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
    Config.VehicleKeysCommand = 'vehiclekeys' -- command to call vehiclekeys uihttps://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
    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/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
    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/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
    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 true

    https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P

    https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1


    Config.EnableLockpick = true -- enable lock pick item and command function
    https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H

    Config.EnableDuplicateKeys = true -- Carlock Purpose and to bypass hotwired
    https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop

    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/4D5E6F7G8H9I0J1K2L3M?pwd=mnop

    Config.RequestDuplicateCoord = {https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
        [1] = vec3(218.74,-811.37,30.65), --x , y, z -- where the player can request duplicate keys

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

  • https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z

  • }

    https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6 https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr


    Config.RemoveKeys = true -- remove keys upon storing vehiclehttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
    --Hotwirehttps://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
    Config.EnableHotwire = true -- enable hotwire if keys is not present in statehttps://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
    Config.HotwireLevel = 5 -- how many pins to complete (renzu_lockgame) https://github.com/renzuzu/renzu_lockgamehttps://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
    -- Lockpickhttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
    Config.EnableLockpickCommand = true -- enable / disable command

    https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8 https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z


    Config.LockpickCommand = 'lockpick' -- command namehttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
    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/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
    -- Fail Alert

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

    https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K


    Config.EnableAlert = true
  • https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl

  • Config.AlertJob = 'police'https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
    Config.FailAlert = function() -- linden outlaw alert are preconfigured (please correct this , i might be wrong) https://github.com/thelindat/linden_outlawalerthttps://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
        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/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
        local dispatchData = {dispatchData = data, caller = 'Alarm', coords = GetEntityCoords(PlayerPedId())}https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J
        TriggerServerEvent('wf-alerts:svNotify', dispatchData)https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
        print("SENT ALERT")
    https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U

    endhttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
    https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
    -- Carlockhttps://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
    Config.CarlockKey = 'J' -- Keyboard (changable in keybinds FIVEM setting)
    不影响正文阅读

  • https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N

  • -- Variableshttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
    Message = Locale[Config.Locale]https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
    https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
    -- NOTIFYhttps://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
    Config.Renzu_notify = true -- if false we will use default framework notification
  • 这是干扰码

  • Config.Notify = function(type,msg,xPlayer)
  • https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx

  •     if Config.Oxlib and not IsDuplicityVersion() then
    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3

            if type == 'info' then type = 'inform' end -- nice logichttps://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
            lib.notify({https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
                title = 'Garage',https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
                description = msg,https://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y
                status = typehttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
            })https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
        elseif Config.Oxlib and IsDuplicityVersion() thenhttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
            TriggerClientEvent('renzu_garage:notify', xPlayer.source, type, msg)不要乱来哦
        elseif Config.Renzu_notify and not IsDuplicityVersion() then

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


            TriggerEvent('renzu_notify:Notify', type,Message[2], msg)
  • https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7

  •     elseif Config.Renzu_notify and IsDuplicityVersion() thenhttps://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
            TriggerClientEvent('renzu_notify:Notify', xPlayer.source, type,Message[2], msg)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
        elseif not Config.Renzu_notify and not IsDuplicityVersion() thenhttps://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
            ShowNotification(msg)https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
        elseif not Config.Renzu_notify and xPlayer thenhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
            xPlayer.showNotification(msg)https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
        endhttps://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
    end
    https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U

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

    if not IsDuplicityVersion() then
    https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W

        if GetResourceState('ox_lib') ~= 'started' thenhttps://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
            cache = {}
    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx

        endhttps://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
        ESX = nilhttps://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K
        QBCore = nilhttps://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
        fetchdone = false
    https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W

        PlayerData = {}https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
        playerLoaded = falsehttps://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
        TriggerServerCallback_ = nilhttps://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
        vehicletable = 'owned_vehicles'https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
        vehiclemod = 'vehicle'
    https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop

        owner = 'owner'
    https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1

        stored = 'stored'
    https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop

        garage__id = 'garage_id'https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
        type_ = 'type'https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
        Zones = {}
    https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop

        cancel = falsehttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
        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 = nilhttps://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
    end
    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx

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

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


    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
    https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0

    https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T
    回复 论坛版权

    使用道具 举报

    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:37 , Processed in 0.077472 second(s), 8 queries , Redis On.

    Powered by Discuz! X3.4

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

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