- NoPixel 启发了石油公司
- 拥有油井
- …
- 油井零件断裂时的新通知。
- 油井所有者可以雇人为他们作油井。(员工可以使用原油转运,但当他们使用原油时,它会将可用的石油发送到所有者的仓库,而不是员工的仓库。
- 员工应该有工作。
oilwell
- 业主可以随意解雇员工,员工访问权限将立即被撤销。
- 删除了一些客户端上不应可用的数据。
- 添加了脚本加载报告。
- 从现在开始,CEO 有能力移除任何油井(这不是永久移除,因此油井只是被标记为已删除以便于恢复)。
- Information 菜单现在直接从 Server 接收数据。
-
- 使用 sql.sql 末尾提供的 ALTER TABLE 更新您的
oilrig_position
- 使用 sql.sql 末尾提供的 ALTER TABLE 更新您的
-
- 导入新表
oilcompany_employees
- 导入新表
-
(重要)如果您使用的是旧版本,请确保您有备份。
-
平衡出油 1 小时
-
为了能够作 Oilwells,玩家必须值班
-
油井现在会受到伤害,玩家应该修理它们,否则它们将停止工作
-
修复油井的新物品
-
运输接受所有油类型
-
新的机油类型
-
Blender 新配方和新 Elemnts
-
qb-target 不会与对象一起消失
-
修复了 qb 目标未显示的问题
-
修复了 props 闪烁的问题
-
修复了如果玩家没有 Oilwell 工作,则 props 不会生成的问题
-
更好地检查工作和值班
-
新的提款系统
-
Withdraw Purge 菜单
-
添加了辛烷值计算
-
在分配之前显示 oilwell prop
-
Oilbarell 支柱
-
老实说,有很多变化我记不清了!
- 通过 “/create oilwell” 添加 Oilwell,然后将其放置并分配给玩家。(管理员)
- 或使用 ‘oilwell’ 物品生成 oilwell
- 将 sql.sql 导入到数据库中
** qb-core 共享项.lua
["oilbarell"] = {
["name"] = "oilbarell",
["label"] = "Oil barell",
["weight"] = 15000,
["type"] = "item",
["image"] = "oilBarrel.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Oil Barrel"
},
["oilwell"] = {
["name"] = "oilwell",
["label"] = "Oilwell",
["weight"] = 50000,
["type"] = "item",
["image"] = "oilwell.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Oilwell"
},
["reliefvalvestring"] = {
["name"] = "reliefvalvestring",
["label"] = "Relief Valve String",
["weight"] = 4000,
["type"] = "item",
["image"] = "relief_valve_string.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Relief Valve String"
},
["oilfilter"] = {
["name"] = "oilfilter",
["label"] = "Oil Filter",
["weight"] = 5000,
["type"] = "item",
["image"] = "oil_filter.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Oil Filter"
},
["skewgear"] = {
["name"] = "skewgear",
["label"] = "Skew Gear",
["weight"] = 6000,
["type"] = "item",
["image"] = "skew_gear.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Skew Gear"
},
["timingchain"] = {
["name"] = "timingchain",
["label"] = "Timing Chain",
["weight"] = 7000,
["type"] = "item",
["image"] = "timing_chain.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Timing Chain"
},
["driveshaft"] = {
["name"] = "driveshaft",
["label"] = "Drive Shaft",
["weight"] = 5000,
["type"] = "item",
["image"] = "drive_shaft.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Drive Shaft"
},
** qb-core 共享作业.lua
['oilwell'] = {
label = 'Oil Company',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = {
name = 'Oilwell Operator',
payment = 50
},
['1'] = {
name = 'Oilwell Operator tier 2',
payment = 75
},
['2'] = {
name = 'Event Driver tier 2',
payment = 100
},
['3'] = {
name = 'Sales',
payment = 125
},
['4'] = {
name = 'CEO',
isboss = true,
payment = 150
},
},
},
- 在 qb-inventory\js\app.js 中找到 FormatItemInfo() 有 if 语句,如下所示: if (itemData.name == “id_card”)
- 跟踪所有 elseif 语句的结束位置,然后在下面添加代码。
else if (itemData.name == "oilbarell") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Gal: " + itemData.info.gal + "</p>" + "<p>Type: " + itemData.info.type + "</p>" + "<p>Octane: " + itemData.info.avg_gas_octane + "</p>");
}
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容