Akkariin
大佬,我想要设置成都可以改车,然后改车就消费,不想设置必须要职业才能改车的怎么弄呀?
Config = Config or {}
-- enables the version checher on resource start (if enabled and the resource is out of date it will print in server console)
Config.EnableVersionChecker = true
-- the derailCard position on the top of the screen (0 = right, 1 = left)
Config.detailCardMenuPosition = 0
-- the cash amount position on the top of the screen (0 = right, 1 = left)
Config.cashPosition = 0
-- if this turned off every mechanic position will be able to to cosmetics and upgrades otherwise only whitelist job can do upgrades
Config.IsUpgradesOnlyForWhitelistJobPoints = false
-- The key to access the mechanic menu, the key code and the name can be found here: [链接登录后可见]
Config.Keys = {
$$
action = {key = 38, label = 'E', name = '~INPUT_PICKUP~'}
$$
}
-- The default values access disrance from position if "Config.Positions" misses the value actionDistance
Config.DefaultActionDistance = 2.0
-- The default values for the blip if "Config.Positions" misses the value "blip = {}"
Config.DefaultBlip = {
$$
enable = ture,
type = 72,
color = 0,
title = '改车店',
scale = 0.9
$$
}
-- Add or remove position for mechanic access points
-- pisition without "whitelistJobName" will be open for anyone and the price will have the multiple of "Config.PriceMultiplierWithoutTheJob" in "config/prices.lua"
-- if any position miss the "blip = {}" will be the default as seen above "Config.DefaultBlip"
-- if any position miss the "actionDistance" will be the default as seen above "Config.DefaultActionDistance"
Config.Positions = {
$$
{ -- bennys
pos = {x = 141.94, y = -3020.73, z = 7.25}, --改车位
whitelistJobName = 'mechanic',
blip = {
enable = ture,
type = 72,
color = 0,
title = '技工改车',
scale = 0.5
},
actionDistance = 7.0
},
$$
--[[ { ------------当前位置设置为车辆配件改装
$$
pos = {x = 127.440, y = -3023.939, z = 7.25}, --改车位
whitelistJobName = 'mechanic',
blip = {
enable = tfalserue,
type = 72,
color = 0,
title = '技工改车',
scale = 0.5
},
actionDistance = 7.0
},]]
{
pos = {x = 127.349, y = -3031.03, z = 7.25}, --改车位
whitelistJobName = 'mechanic',
blip = {
enable = false,
type = 72,
color = 0,
title = '技工改车',
scale = 0.5
},
actionDistance = 7.0
},
{
pos = {x = 127.40, y = -3037.96, z = 7.25}, --改车位
whitelistJobName = 'mechanic',
blip = {
enable = false,
type = 72,
color = 0,
title = '技工改车',
scale = 0.5
},
actionDistance = 7.0
}
$$
}