猪猪侠 发表于 2024-5-16 08:41:21

翻译

Config.SetVisibility = false -- true = player will be invisible when chosing a vehicle

Config.SetInvincibility = true -- true = player will not die while test driving

Config.CheckForOfflineOrdersEvery = 0.5 -- In minutes | it'll check every x minutes for offline players with orders accepted, if someone is offline it'll cancel the order

Config.ShowVehicleShopBlip = true -- Activate/Deactivate Vehicle shop blips

Config.ShowOwnerBlip = true -- Activate/Deactivate owner blips

Config.ShowBuyVehicleShopBlip = true -- Activate/Deactivate buy shop blip

Config.ShowHasOwnerShopBlip = true -- Activate/Deactivate blip of shops with "hasOwner = false"

Config.TestDrive = true -- Activate/Deactivate test drive

Config.DevMode = true -- Allows you to restart the script (IMPORTANT: only set this to true if you are configuring the script)

Config.EventPrefix = "okokVehicleShop" -- this will change the prefix of the events name so if Config.EventPrefix = "example" the events will be "example:event"

Config.ESXPrefix = "esx" -- this will change the prefix of esx events such as esx:onPlayerDeath

Config.onPlayerDeath = "onPlayerDeath"

Config.playerLoaded = "playerLoaded"

Config.getSharedObject = "getSharedObject"

Config.TestDrivePlate = "TEST"

Config.UseOkokTextUI = true -- true = okokTextUI (I recommend you using this since it is way more optimized than the default ShowHelpNotification) | false = ShowHelpNotification

Config.Key = 38 -- Key to open the interaction, check here the keys ID: https://docs.fivem.net/docs/game-references/controls/#controls

Config.UseokokRequests = true -- true = use okokRequests for hiring people | false = don't use okokRequests - https://okok.tebex.io/package/4724985

Config.UseSameImageForVehicles = true -- true = use the same image for all vehicles (vehicle.png) | false = use different images for each vehicle (vehicle_id.png)

Config.HideMinimap = true -- If true it'll hide the minimap when the vehicle shop menu is opened

Config.TimeBetweenTransition = 7000 -- how much time it stays in a camera before changing, in miliseconds

Config.TransitionTime = 4000 -- how much time it takes to go from one camera to another (camera movement), in miliseconds

Config.ShakeAmplitude = 0.2 -- camera shake

Config.UseKMh = true -- true = use KM/h | false = use miles/h

Config.MaxVehiclesSpeed = 450 -- Max speed a vehicle can go at (it is only used for UI purposes, it does NOT change the speed of a vehicle)

Config.TestDriveTime = 40 -- In seconds

Config.StopTestDriveCmd = "cancel" -- command to stop the test drive

Config.PlateLetters= 3 -- How many letters the plate has

Config.PlateNumbers= 3 -- How many numbers the plate has

Config.PlateUseSpace = true        -- If the plate uses spaces between letters and numbers

Config.OrderCompletedPercentage = 10 -- When a employee completes the misson he will get this percentage as a reward, 10 = 10%

Config.HireRange = 3 -- How close a player needs to be to be in the hiring range

Config.AdminCommand = "vsadmin" -- command to open the admin menu

Config.OwnerBuyVehiclePercentage = 10 -- How much of a discount the owner has to order a vehicle (bases on the min. price)

Config.SellBusinessReceivePercentage = 50 -- How much a player will receive for selling his business (in percentage, 50 = 50%)

Config.ClearMoneyWhenBusinessIsSold = false -- true = remove the money from the society when sold | false = do not remove the money


ChatGPT 发表于 2024-5-16 08:41:38

Config.SetVisibility = false -- true = 选择车辆时玩家将不可见

Config.SetInvincibility = true -- true = 玩家在试驾时不会死亡

Config.CheckForOfflineOrdersEvery = 0.5 -- 每隔x分钟检查一次已接受订单的离线玩家,如果有玩家离线,则取消订单

Config.ShowVehicleShopBlip = true -- 激活/停用车辆商店图标

Config.ShowOwnerBlip = true -- 激活/停用所有者图标

Config.ShowBuyVehicleShopBlip = true -- 激活/停用购买商店图标

Config.ShowHasOwnerShopBlip = true -- 激活/停用“hasOwner = false”商店图标

Config.TestDrive = true -- 激活/停用试驾

Config.DevMode = true -- 允许重新启动脚本(重要:只有在配置脚本时将其设置为true)

Config.EventPrefix = "okokVehicleShop" -- 这将更改事件名称的前缀,因此如果Config.EventPrefix="example",则事件将为“example:event”

Config.ESXPrefix = "esx" -- 这将更改esx事件的前缀,例如esx:onPlayerDeath

Config.onPlayerDeath = "onPlayerDeath"

Config.playerLoaded = "playerLoaded"

Config.getSharedObject = "getSharedObject"

Config.TestDrivePlate = "TEST"

Config.UseOkokTextUI = true -- true = okokTextUI(我建议您使用这个,因为它比默认的ShowHelpNotification优化得多)| false = ShowHelpNotification

Config.Key = 38 -- 打开交互的按键,查看按键ID:https://docs.fivem.net/docs/game-references/controls/#controls

Config.UseokokRequests = true -- true = 使用okokRequests来雇佣人员 | false = 不使用okokRequests - https://okok.tebex.io/package/4724985

Config.UseSameImageForVehicles = true -- true = 对所有车辆使用相同的图像(vehicle.png)| false = 对每辆车使用不同的图像(vehicle_id.png)

Config.HideMinimap = true -- 如果为true,则在打开车辆商店菜单时隐藏小地图

Config.TimeBetweenTransition = 7000 -- 相机在切换之前停留的时间,以毫秒为单位

Config.TransitionTime = 4000 -- 从一个相机切换到另一个相机需要的时间(相机移动),以毫秒为单位

Config.ShakeAmplitude = 0.2 -- 相机抖动幅度

Config.UseKMh = true -- true = 使用公里/小时 | false = 使用英里/小时

Config.MaxVehiclesSpeed = 450 -- 车辆可以达到的最高速度(仅用于UI目的,不会改变车辆的速度)

Config.TestDriveTime = 40 -- 以秒为单位

Config.StopTestDriveCmd = "cancel" -- 停止试驾的命令

Config.PlateLetters= 3 -- 车牌上有多少个字母

Config.PlateNumbers= 3 -- 车牌上有多少个数字

Config.PlateUseSpace = true        -- 车牌上的字母和数字是否使用空格

Config.OrderCompletedPercentage = 10 -- 当员工完成任务时,他将获得此百分比作为奖励,10 = 10%

Config.HireRange = 3 -- 玩家需要多接近才能进行雇佣

Config.AdminCommand = "vsadmin" -- 打开管理员菜单的命令

Config.OwnerBuyVehiclePercentage = 10 -- 所有者需要订购车辆的折扣(基于最低价格)

Config.SellBusinessReceivePercentage = 50 -- 出售业务时玩家将获得的金额(百分比,50 = 50%)

Config.ClearMoneyWhenBusinessIsSold = false -- true = 出售时从组织中删除资金 | false = 出售时不要删除资金
页: [1]
查看完整版本: 翻译