🏎️ [STANDALONE] NYX Persistent Vehicles | Plug & Play | Works with ANY resources 🏎️

:heavy_dollar_sign: PRICE: $14.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.

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

ensure nyx2_persistent

:two: In every resource that spawns/deletes vehicles, add this to the fxmanifest.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

Code is accessible No (Config / Overrides Only)
Subscription-based No
Lines (approximately) 1600+
Requirements None - Standalone
Support Yes (Via Discord)

Is there built-in impound garages? What happens to car when its get under water.?

1 Like

Hi,

This resource doesn’t contain anything like impound garages as that is not the intended use of the resource. It will work alongside your current garage resource that has an impound.

Regarding flooded vehicles, currently the script will just re-spawn them in the water - good idea though, we’ll add a config option for destroyed vehicles.

Thanks for your question!

Been looking for a new persistent vehicles but the only issue ive run into with the few ive tried. Using lb-phone. After a restart the phone will not track it since it hasnt technically been seen by anyone. Guessing ill have the same issue with this one?

I think you should add built-in impound and depot garage for who lost their vehicle [ like despawned and blown up ]

I’ve never used lb-phone, but we’d be happy to help you get it working - or provide a refund if we can’t!

1 Like

I’m still waiting for the impound update — I’m planning to buy it, but the fact that there’s no impound system for vehicles that’ve been blown up or ended up in the water is a big missing feature.

Yeah, i made new system for it. All persistent vehicle makers makes it without impound and depot.

Hi,

We will not be introducing an impound directly with our script as a lot of servers have a lot of different dependencies / resources etc - it’s really impossible to make an impound script that will work with any server the way that we made this persistent vehicles script work with any server.

I did however release on GitHub for free an example script of how someone can create an impound with our persistent vehicles script, we provide all the functionality required to make things like this for your server.

GITHUB LINK: GitHub - nyx-servers/Persistent-Vehicles-Impound: Example impound retrieval script for FiveM using NYX Persistent Vehicles

This example requires the following:

  • QB-Core
  • QB-Target
  • OX-Lib
  • OXMySQL

Hopefully this gives you an idea of the kinds of things that are possible with our script :slight_smile:

1 Like

The reason for this is simply because every server is different, it’s really hard to make a plug-and-play resource for every server on the planet if we introduce things like this.

Some servers use qb-target, some still use qtarget, some use ox-target - there’s just so many variations of servers, it’s impossible to keep everyone happy at the same time.

NYX Persistent vehicles is really malleable and is designed to be integrated with your server, there’s a lot of features available for someone with developer knowledge to create great resources that work alongside ours!

For example, I’ve created a free resource I released on GitHub that will achieve an impound ped, just using the available exports and events from NYX Persistent Vehicles, but this requires dependencies

  • QB-Core
  • QB-Target
  • OX-Lib
  • OXMySQL

But the idea is that someone with development knowledge can take this resource and make something that works for their server :slight_smile:

1 Like

My opinion most impound features should be in your garage system. Not persistent parking. Although ive seen persistent parking systems come with an admin command to return a certain vehicle by plate or all saves vehicles back to their garages.