Insurance & Road Tax Documents
NPC-based insurance and road-tax registration with a stylish NUI document, per-vehicle metadata (plate, expiry), Discord logging, target support, and full localization. Framework, inventory, target, and DB are all configurable.
QBCore and ESX
ox_inventory / qs-inventory / qb-inventory
ox_target / qb-target / fallback key
Locales (client + NUI + notifications)
Discord webhook (embeds)
DB mapping for QBCore or ESX tables
Features
- NPC service points with optional blips, scenarios, and target interactions (ox_target / qb-target).
- NUI document viewer showing owner, plate, vehicle name, duration and ISO expiry.
- Metadata items (with OX/QB/QS) storing plate and expiry for validation.
- Unified framework bridge: QBCore or ESX (auto or forced).
- Unified inventory bridge: OX, QS, or QB; autodetect or force.
- Configurable prices, durations, payment account (bank/cash).
- Ownership checks against your DB table (toggleable).
- Discord webhook with rich embeds and rate-limit safe logging.
- Localization via
LocalesandLang:t()for UI, target labels, notifications, and NUI texts. - Export to validate documents in other scripts (traffic stops, garage gates, etc.).
Compatibility
- Frameworks: QBCore, ESX (auto or forced via config)
- Inventories:
ox_inventory,qs-inventory,qb-inventory - Targets:
ox_target,qb-target, or fallback “[E]” help - DB:
- QBCore default:
player_vehicles(plate/citizenid/hash/mods/vehicle) - ESX default:
owned_vehicles(plate/owner/vehicle JSON)
- QBCore default:
What’s Included
- Client, Server, Config, Locales, NUI (HTML/CSS/JS)
- Bridges for framework/inventory/target
- Webhook logger
- Export + server event docs
Installation
- Drag & drop the resource into your server.
- Dependencies:
ox_lib,oxmysqland your chosen target/inventory. - Set
ensureorder after core frameworks and libraries. - Add the item names to your inventory config (images too, if required):
insurance(or your label)tax(or your label)
- Edit
config.luato match your framework, inventory, and DB mapping. - Restart the server.
How it works
- Player interacts with NPC (target or fallback prompt).
- Selects Insurance / Road Tax / Both and enters exact plate.
- Server validates ownership (optional), charges account, and creates item(s) with metadata (plate, expiry, duration).
- Player can use the item to open the NUI document anytime.
- Other scripts can validate the doc via export.
Performance
- Lightweight client loop near NPCs only.
- Server is event-driven.
Security & Anti-abuse
- Ownership check toggle (
Config.StrictOwnershipCheck). - Plate normalization and DB lookup.
- Server-side price/charge and issuance logic.
- Webhook logs for auditing.
FAQ
Q: Does it work on ESX?
A: Yes. Use Config.Framework = 'esx' or auto. For validation by plate/expiry, prefer ox_inventory on ESX.
Q: Can I change items, prices, durations, and UI texts?
A: Yes. All configurable in config.lua and locales.
Q: Can police scripts check documents at a stop?
A: Yes, use the HasValidDocument export.
Q: My target works, but the “[E]” prompt still shows.
A: Set Config.Target.system to ox or qb, and disable fallback help (Config.Help.enabled = false).
Video: https://www.youtube.com/watch?v=x0cOH826D6I
Price: 5 €
Site: WayZ Store
Other resources:
FREE NPC Hostage script
FREE Drift Script
Vangelico Heist
Business Manager Simulator
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 900 |
| Requirements | MySQL |
| Support | Yes |

