Infos
Hey, here is my permanent vehicle script even after a server reboot.
I managed after more than a month of testing to find a good alternative that works on a server with more than 100 people per night
This script saves the position of the vehicle as well as the cosmetics and damage as shown in the video
Download (20€): Buy
- Standalone
- No IP lock
- Source code
- Fully customizable
- Easy install
Optimization
Idle & In activity: 0.00-0.01ms
To install it :
- add the folder “harybo_permanent”
- add the line “start harybo_permanent” on .cfg
- custom cf_main.lua
Features :
- Saves vehicle position every 3 seconds (customisable)
- Save the cosmetics and performance of the vehicle
- Saving vehicle damage (door, tyre, window, health vehicle, fuel)
- Possibility of saving pnj vehicles from the moment the player enters them
- Vehicles respawn after a reboot
- Trailer support
- Possibility of recovering the coordinates of the vehicle to make a tracer.
- /track command to track the position of a vehicle
- Truck trailers can be saved even when they do not have a truck towing them.
- The possibility to only save your vehicle via a customizable command and to delete your vehicle permanently
Update :
Update V 1.1
- Fixing vehicles that could be duplicated
- Added a /track command to track the position of a vehicle
Update V 1.2
Truck trailers can be saved even when they do not have a truck towing them.
For it to be saved it must be hooked up to a truck at least once
Update V 1.3
- Added the possibility to only save your vehicle via a customizable command and to delete your vehicle permanently
- Fix problem with a permanent vehicle that had a trailer attached
To use it :
-
To add a permanent vehicle
TriggerEvent('harybo_permanent:registerveh', entityVeh, ForgetAfterIsNotRequired)
-
To add a permanent trailer
TriggerEvent('harybo_permanent:registertrail', vehicleEntity, ForgetAfterIsNotRequired)
-
To delete a permanent vehicle or trailer
TriggerEvent('harybo_permanent:forgetveh, entityVeh, deleteThisIsNotRequired)

