Tire Plug Script for Qbox / QBCore — By Smokey City Roleplay
Description
A simple and effective tire repair script designed for Qbox and QBCore servers. This script integrates with ox_inventory
, ox_target
, and lib
notifications to provide immersive tire repair interactions with skill checks and animations. Optional support for the popular xt-slashtires
script is included.
Features
- Repair burst tires (front left, front right, rear left, rear right)
- Uses skill checks for repair attempts (easy and medium difficulty)
- Interactive tire repair options using
ox_target
- Progress circle and repair animations for realism
- Compatible with
xt-slashtires
for slash tire repair support - Requires
ox_inventory
for item management (tire_plug
item)
##preview
Requirements
- Qbox or QBCore Framework
ox_inventory
ox_target
ox_lib
- Optional:
xt-slashtires
for slash tire fixes
Installation
- Download or clone the repository into your
resources
folder. - Add
ensure tire_plug
to yourserver.cfg
. - Add the
tire_plug
item to yourox_inventory
items. - (Optional) Install
xt-slashtires
for slash tire support.
Usage
Equip a Tire Plug item, approach a vehicle with a burst tire, and interact with the tire using ox_target
options. Complete the skill check to repair the tire.
Download
Support & Credits
Created by Smokey for Smokey City Roleplay.
Open issues on GitHub for bugs or suggestions.
Checklist
- Code is accessible: Yes
- Subscription-based: No
- Lines (approximately): ~170 lines
- Requirements: Qbox or QBCore,
ox_inventory
,ox_target
,ox_lib
- Support: Yes (via GitHub Issues and Discord)
- Assets are accessible: Yes (all scripts included)
- Polygons (model and LOD): N/A (script only)
- Texture size and amount: N/A
- Requirements & dependencies: See Requirements section above
- MLO: No
- Number of rooms: N/A
- Number of entities: N/A