杰瑞米瓦德 发表于 2024-9-21 03:23:54

翻译 ,保留源代码




Config = {} --don't touch

Config.Framework = 'qbcore' --standalone, esx, qbcore

Config.Payment = 'bank' -- bank or cash payment

Config.EnableMarkers = false -- Do you want to enable markers?

Config.Start = vector3(729.4091796875,-1974.2263183594,29.292043685913) -- don't touch

Config.Veh = vector3(729.50396728516,-1961.6475830078,29.287824630737) -- don't touch

Config.VehSpawn = vector4(732.17559814453,-1983.8890380859,29.292043685913, 347.86053466797) -- don't touch

Config.VehDelete = vector3(740.21, -1910.67, 29.29) -- don't touch

Config.JobPay = 100 --amount to pay

Config.FixTime = 10000 --time in ms 10000 = 10 seconds

Config.WaitForJobTime = 30000 --time in ms 30000 = 30 seconds

Config.Strings = {
    jobName = 'Electrician Job', --job name for blip on map
    alreadyCar = 'You have a work car already', --notification that car is already spawned or in world
    goTo = 'Go to your vehicle!', --go to you car friend..but it takes you there already
    workCar = 'My Work Car', --blip on the map of "your car"
    needCar = 'You must be in job vehicle to receive a job', --can not get new job without a car
    lookWork = 'Waiting for job...', --waiting for work
    workFound = 'Job found, sending you the location now.', --you found work congrats
    lightPole = 'Press E to fix light pole', --fix da pole
    fixPole = "Fixing Lightpole", --you're fixing it
    jobDone ='Job Complete on to the next', --next job
    yourPole = 'Pole', --blip for pole
    spawnVeh = 'Spawn Vehicle', --spawn vehicle dummy
    deleteVeh = 'Delete Vehicle', --delete vehicle dork
    onDuty = 'You are on duty', -- on duty notification
    offDuty = 'You are off duty', --off dutgy notification
    dtSpawn = 'Press E to spawn work vehicle', --press me to spawn
    dtDuty = 'Press E to toggle duty', --press me to toggle duty
    dtDelete = 'Press E to store work vehicle', --press me to store
    esxName = 'es_extended',
    esxMain = 'esx:getSharedObject',
    esxLoad = 'esx:playerLoaded',
    esxJob = 'esx:setJob',
    qbName = 'qb-core',
    qbMain = 'QBCore:GetObject',
    qbLoad = 'QBCore:Client:OnPlayerLoaded',
    qbjob = 'QBCore:Client:OnJobUpdate',
    qbDuty = 'QBCore:Client:SetDuty',
}

Config.JobLocations = { --locations of lightpoles don't touch unless you read rest of code























      { name = "Anodized Green", id = 165 },
      { name = "Anodized Lime", id = 166 },
      { name = "Anodized Copper", id = 167 },
      { name = "Anodized Bronze", id = 168 },
      { name = "Anodized Champagne", id = 169 },
      { name = "Anodized Gold", id = 170 },
      { name = "Green/Blue Flip", id = 171 },
      { name = "Green/Red Flip", id = 172 },
      { name = "Green/Brown Flip", id = 173 },
      { name = "Green/Turqoise Flip", id = 174 },
      { name = "Green/Purple Flip", id = 175 },
      { name = "Teal/Purple Flip", id = 176 },
      { name = "Turqoise/Red Flip", id = 177 },
      { name = "Turqoise/Purple Flip", id = 178 },
      { name = "Cyan/Purple Flip", id = 179 },
      { name = "Blue/Pink Flip", id = 180 },
      { name = "Blue/Green Flip", id = 181 },
      { name = "Purple/Red Flip", id = 182 },
      { name = "Pruple/Green Flip", id = 183 },
      { name = "Magenta/Green Flip", id = 184 },
      { name = "Magenta/Yellow Flip", id = 185 },
      { name = "Burgundy/Green Flip", id = 186 },
      { name = "Magenta/Cyan Flip", id = 187 },
      { name = "Copper/Purple Flip", id = 188 },
      { name = "Magenta/Orange Flip", id = 189 },
      { name = "Red/Orange Flip", id = 190 },
      { name = "Orange/Purple Flip", id = 191 },
      { name = "Orange/Blue Flip", id = 192 },
      { name = "White/Purple Flip", id = 193 },
      { name = "Red/Rainbow Flip", id = 194 },
      { name = "Blue/Rainbow Flip", id = 195 },
      { name = "Dark Green Pearl", id = 196 },
      { name = "Dark Teal Pearl", id = 197 },
      { name = "Dark Blue Pearl", id = 198 },
      { name = "Dark Purple Pearl", id = 199 },
      { name = "Oil Slick Pearl", id = 200 },
      { name = "Light Green Pearl", id = 201 },
      { name = "Light Blue Pearl", id = 202 },
      { name = "Light Purple Pearl", id = 203 },
      { name = "Light Pink Pearl", id = 204 },
      { name = "Off White Pearl", id = 205 },
      { name = "Pink Pearl", id = 206 },
      { name = "Yellow Pearl", id = 207 },
      { name = "Green Pearl", id = 208 },
      { name = "Blue Pearl", id = 209 },
      { name = "Cream Pearl", id = 210 },
      { name = "White Prismatic", id = 211 },
      { name = "Graphite Prismatic", id = 212 },
      { name = "Dark Blue Prismatic", id = 213 },
      { name = "Dark Purple Prismatic", id = 214 },
      { name = "Hot Pink Prismatic", id = 215 },
      { name = "Dark Red Prismatic", id = 216 },
      { name = "Dark Green Prismatic", id = 217 },
      { name = "Black Prismatic", id = 218 },
      { name = "Black Oil Spill", id = 219 },
      { name = "Black Rainbow", id = 220 },
      { name = "Black Holographic", id = 221 },
      { name = "White Holographic", id = 222 },
      { name = "Monochrome", id = 223 },
      { name = "Night / Day", id = 224 },
      { name = "Verlierer 2", id = 225 },
      { name = "Sprunk Extreme", id = 226 },
      { name = "Vice City", id = 227 },
      { name = "Synthwave", id = 228 },
      { name = "Four Seasons", id = 229 },
      { name = "Maisonette 9 Throwback", id = 230 },
      { name = "Bubblegum", id = 231 },
      { name = "Full Rainbow", id = 232 },
      { name = "Sunsets", id = 233 },
      { name = "The Seven", id = 234 },
      { name = "Kamen Rider", id = 235 },
      { name = "Chrome Abberation", id = 236 },
      { name = "Its Christmas", id = 237 },
      { name = "Temperature", id = 238 },
      { name = "Haos Special Works", id = 239 },
      { name = "Electro", id = 240 },
      { name = "Monika", id = 241 },
      { name = "Fubuki", id = 242 }
















ChatGPT 发表于 2024-9-21 03:30:52

Config = {} --不要修改

Config.Framework = 'qbcore' --独立、esx、qbcore

Config.Payment = 'bank' -- 银行或现金支付

Config.EnableMarkers = false -- 是否启用标记?

Config.Start = vector3(729.4091796875,-1974.2263183594,29.292043685913) -- 不要修改

Config.Veh = vector3(729.50396728516,-1961.6475830078,29.287824630737) -- 不要修改

Config.VehSpawn = vector4(732.17559814453,-1983.8890380859,29.292043685913, 347.86053466797) -- 不要修改

Config.VehDelete = vector3(740.21, -1910.67, 29.29) -- 不要修改

Config.JobPay = 100 --支付金额

Config.FixTime = 10000 --时间(毫秒)10000 = 10秒

Config.WaitForJobTime = 30000 --时间(毫秒)30000 = 30秒

Config.Strings = {
    jobName = '电工工作', --地图上标记的工作名称
    alreadyCar = '你已经有一辆工作车了', --通知车辆已经生成或在世界中
    goTo = '去你的车辆!', --去你的车,朋友..但它已经带你去了
    workCar = '我的工作车', --“你的车”的地图标记
    needCar = '你必须在工作车辆中才能接收工作', --没有车无法获得新工作
    lookWork = '等待工作中...', --等待工作
    workFound = '找到工作,正在发送位置给你。', --你找到了工作,恭喜
    lightPole = '按E修理灯杆', --修理灯杆
    fixPole = "正在修理灯杆", --你正在修理它
    jobDone ='工作完成,继续下一个', --下一个工作
    yourPole = '灯杆', --灯杆的标记
    spawnVeh = '生成车辆', --生成车辆
    deleteVeh = '删除车辆', --删除车辆
    onDuty = '你在值班', --值班通知
    offDuty = '你下班了', --下班通知
    dtSpawn = '按E生成工作车辆', --按我生成
    dtDuty = '按E切换值班', --按我切换值班
    dtDelete = '按E存储工作车辆', --按我存储
    esxName = 'es_extended',
    esxMain = 'esx:getSharedObject',
    esxLoad = 'esx:playerLoaded',
    esxJob = 'esx:setJob',
    qbName = 'qb-core',
    qbMain = 'QBCore:GetObject',
    qbLoad = 'QBCore:Client:OnPlayerLoaded',
    qbjob = 'QBCore:Client:OnJobUpdate',
    qbDuty = 'QBCore:Client:SetDuty',
}

Config.JobLocations = { --灯杆的位置,除非你阅读了其余代码,否则不要修改

      { name = "阳极绿", id = 165 },
      { name = "阳极青柠", id = 166 },
      { name = "阳极铜", id = 167 },
      { name = "阳极铜合金", id = 168 },
      { name = "阳极香槟", id = 169 },
      { name = "阳极金", id = 170 },
      { name = "绿/蓝翻转", id = 171 },
      { name = "绿/红翻转", id = 172 },
      { name = "绿/棕翻转", id = 173 },
      { name = "绿/青绿色翻转", id = 174 },
      { name = "绿/紫色翻转", id = 175 },
      { name = "青绿色/紫色翻转", id = 176 },
      { name = "青绿色/红色翻转", id = 177 },
      { name = "青绿色/紫色翻转", id = 178 },
      { name = "青色/紫色翻转", id = 179 },
      { name = "蓝色/粉色翻转", id = 180 },
      { name = "蓝色/绿色翻转", id = 181 },
      { name = "紫色/红色翻转", id = 182 },
      { name = "紫色/绿色翻转", id = 183 },
      { name = "品红/绿色翻转", id = 184 },
      { name = "品红/黄色翻转", id = 185 },
      { name = "酒红/绿色翻转", id = 186 },
      { name = "品红/青色翻转", id = 187 },
      { name = "铜/紫色翻转", id = 188 },
      { name = "品红/橙色翻转", id = 189 },
      { name = "红色/橙色翻转", id = 190 },
      { name = "橙色/紫色翻转", id = 191 },
      { name = "橙色/蓝色翻转", id = 192 },
      { name = "白色/紫色翻转", id = 193 },
      { name = "红色/彩虹翻转", id = 194 },
      { name = "蓝色/彩虹翻转", id = 195 },
      { name = "深绿色珍珠", id = 196 },
      { name = "深青色珍珠", id = 197 },
      { name = "深蓝色珍珠", id = 198 },
      { name = "深紫色珍珠", id = 199 },
      { name = "油光珍珠", id = 200 },
      { name = "浅绿色珍珠", id = 201 },
      { name = "浅蓝色珍珠", id = 202 },
      { name = "浅紫色珍珠", id = 203 },
      { name = "浅粉色珍珠", id = 204 },
      { name = "米白珍珠", id = 205 },
      { name = "粉色珍珠", id = 206 },
      { name = "黄色珍珠", id = 207 },
      { name = "绿色珍珠", id = 208 },
      { name = "蓝色珍珠", id = 209 },
      { name = "奶油珍珠", id = 210 },
      { name = "白色棱镜", id = 211 },
      { name = "石墨棱镜", id = 212 },
      { name = "深蓝色棱镜", id = 213 },
      { name = "深紫色棱镜", id = 214 },
      { name = "热粉色棱镜", id = 215 },
      { name = "深红色棱镜", id = 216 },
      { name = "深绿色棱镜", id = 217 },
      { name = "黑色棱镜", id = 218 },
      { name = "黑色油污", id = 219 },
      { name = "黑色彩虹", id = 220 },
      { name = "黑色全息", id = 221 },
      { name = "白色全息", id = 222 },
      { name = "单色", id = 223 },
      { name = "昼夜", id = 224 },
      { name = "失败者2", id = 225 },
      { name = "Sprunk极限", id = 226 },
      { name = "迈阿密", id = 227 },
      { name = "合成波", id = 228 },
      { name = "四季", id = 229 },
      { name = "Maisonette 9怀旧", id = 230 },
      { name = "泡泡糖", id = 231 },
      { name = "完整彩虹", id = 232 },
      { name = "日落", id = 233 },
      { name = "七个", id = 234 },
      { name = "假面骑士", id = 235 },
      { name = "铬色畸变", id = 236 },
      { name = "圣诞节", id = 237 },
      { name = "温度", id = 238 },
      { name = "Haos特别作品", id = 239 },
      { name = "电音", id = 240 },
      { name = "Monika", id = 241 },
      { name = "Fubuki", id = 242 }
}
页: [1]
查看完整版本: 翻译 ,保留源代码