[现实重生] 舰队生成器

Fleet Spawner – Qbox 职业车辆菜单

职业车辆终端。玩家走到职业的停车场,按 E,从干净的弹出窗口选择车辆,然后点击 Deploy。无需 vMenu 和无需管理员生成。所有内容都在服务器上检查。

预览

功能特性

  • 按职业位置:警察、EMS、机械师或其他,每个都有自己的车辆列表、标记和出生点
  • 等级锁定车辆:玩家看到更高等级的单位会变暗,并带有 RANK 3+ 徽章,而不是直接隐藏
  • 分类:巡逻、非标记、空中等等,作为菜单中的标签页
  • 单独的出生点:直升机在停机坪上出生,战术卡车在自己的船坞中,按分类或甚至按车辆
  • 存储活动车辆:将你的职业车从菜单中存起来
  • 可选:与 qbx_garages 持久化:车队车辆在轮班之间保持相同的车牌、它们的改装件和后备箱内容
  • 重启后自动修复卡住的“已取出”车辆
  • 服务器端检查:职业、等级和白名单在每次生成时都会重新检查,所以菜单不能被利用
  • 容易改色:所有主题颜色都是 CSS 变量

前置需求

安装

  1. 从 GitHub 下载并将 qbx-jobspawner 放入你的 resources 文件夹
  2. 在 server.cfg 中添加 ensure qbx-jobspawner,在 ox_lib 和 qbx_core(以及如果你使用它们,还有 qbx_vehicles / qbx_garages)之后
  3. 在 shared/config.lua 中设置你的位置和车辆
  4. 可选:设置 Config.KeySystem 并在 server/main.lua 中钩住你的密钥脚本

完整设置,包括持久化和多个出生点,都在 README 中。

下载

GitHub: GitHub – Staticx660/Fleet-Spawner: This is a simple Vehicle Fleet Spawner for FiveM QBX servers · GitHub

我不维护这个资源,所以它仍然是开源的,请随意使用,请不要重新分发,毕竟它是一个免费资源

代码可访问 是
基于订阅 否
代码行数(约) ~1,300
依赖项 ox_lib, qbx_core (qbx_garages 可选)
支持 是
查看英文原文 (Original)

Fleet Spawner – job vehicle menu for Qbox

A fleet terminal for job vehicles. Players walk up to their job’s motor pool, press E, pick a vehicle from a clean popup and hit Deploy. No vMenu and no admin spawning. Everything is checked on the server.

Preview

Features

  • Per-job locations: police, EMS, mechanic or anything else, each with its own vehicle list, blip and spawn pads
  • Rank-locked vehicles: players see higher-rank units dimmed with a RANK 3+ badge instead of them just being hidden
  • Categories: Patrol, Unmarked, Air and so on, as tabs in the menu
  • Separate spawn pads: helicopters spawn on the helipad, tactical trucks in their own bay, per category or even per vehicle
  • Store Active Vehicle: put your job car away from the menu
  • Optional persistence with qbx_garages: fleet cars keep the same plate, their mods and their trunk contents between shifts
  • Fixes stuck “already out” vehicles automatically after a restart
  • Server-side checks: job, rank and whitelist are re-checked on every spawn, so the menu can’t be exploited
  • Easy to recolour: all theme colours are CSS variables

Requirements

Installation

  1. Download from GitHub and put qbx-jobspawner in your resources folder
  2. Add ensure qbx-jobspawner to your server.cfg after ox_lib and qbx_core (and qbx_vehicles / qbx_garages if you use them)
  3. Set up your locations and vehicles in shared/config.lua
  4. Optional: set Config.KeySystem and hook your key script in server/main.lua

Full setup, including persistence and multiple spawn pads, is in the README.

Download

GitHub: GitHub – Staticx660/Fleet-Spawner: This is a simple Vehicle Fleet Spawner for FiveM QBX servers · GitHub

I am not maintaining this Resources hence why it is still open source feel free to play with it how you feel please do not redistribute its a free resource anyways

Code is accessible Yes
Subscription-based No
Lines (approximately) ~1,300
Requirements ox_lib, qbx_core (qbx_garages optional)
Support Yes

本文资源搬运自 CFX.re FiveM 官方论坛,原作者:Staticx66。原帖地址:https://forum.cfx.re/t/reality-reborn-fleet-spawner/5432475

原帖标签:script, free, qbox

THE END
喜欢就支持一下吧
点赞10 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容