> For the complete documentation index, see [llms.txt](https://nyx-store.gitbook.io/nyx-store-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nyx-store.gitbook.io/nyx-store-docs/resources/nyx-persistent-vehicles.md).

# NYX Persistent Vehicles

:race\_car: **\[STANDALONE] NYX Persistent Vehicles | Plug & Play | Works with ANY resources** :race\_car:

:heavy\_dollar\_sign: **PRICE: $**&#x31;4.99 (plus taxes and Tebex fees)

:package: **PURCHASE HERE:** <https://store-us.nyx-servers.com/package/6783251>

***

Say goodbye to janky persistent vehicle systems that break your scripts and demand custom integration, causing issues with other resources or escrowed resources. Introducing NYX Persistent Vehicles — a clean, minimal-effort solution to vehicle persistence built for FiveM.

This script ensures that **any vehicle** a player uses will persist even if deleted by the game. Vehicles are respawned when a player enters the area the vehicle was, fully restored with:

:white\_check\_mark: Damage State

:white\_check\_mark: Door lock status

:white\_check\_mark: Modifications & visual customizations

:white\_check\_mark: Everything you'd expect — just as the player left it

***

### :wrench: Key Features

:zap: **Zero events or code rewrites needed** — just modify your fxmanifest.lua

:zap: **Lightweight & efficient** — only spawn vehicles players will see, keep track of as much as possible on the server to reduce load on the client

:zap: **Works with any vehicle spawning/deleting script —** works out of the box with any framework or script

:zap:**Fully tested with QBCore / JG-Dealerships / JG-AdvancedGarages**

:zap: **Smart respawn system —** vehicles load in dynamically when a player is nearby, chooses the most reliable player on the server to create the vehicle and keeps track of the new vehicle

:zap: **Discord Logs** — Keep track of your server with a Discord Webhook

:zap: **In Game Debug UI** — Use `/togglepvui` to enable the in game realtime debug UI to keep an eye on what persistent vehicles is doing easily!

:zap: **Add plates to ignore —** For scripts that create multiple vehicles with the same plate, you can add this plate to the config to be ignored and avoid duplicate vehicles.

***

### :package: How to Install

Installing NYX Persistent Vehicles requires **no developer knowledge**.&#x20;

1️⃣ Add this line to your server.cfg before any resources that will use it:

```lua
ensure nyx2_persistent
```

2️⃣ In every resource that spawns/deletes vehicles, add this to the **fxmanifest.lua**

```lua
client_script '@nyx2_persistent/client/overrides.lua'  
server_script '@nyx2_persistent/server/overrides.lua' 
```

That's it... Really.. Your vehicles are now persistent!

***

### :link: Why NYX Persistent Vehicles?

:boom: No bloated dependencies

:boom: Not over-priced garbage

:boom: No spaghetti event handling

:boom: No headaches

Just **simple**, **clean**, **reliable** vehicle persistent


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nyx-store.gitbook.io/nyx-store-docs/resources/nyx-persistent-vehicles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
