Shopping Cart

Auto Delete Professional – Final Car Cleanup Answer – Releases

[ad_1]

AutoDeletePro provides a timer to autos for deletion. It’s OneSync Infinity prepared and works greatest in that setting however does work in non-OneSync environments as nicely.

Features

Media

Configuration JSON

The below example is consumer-ready. It does have a “Hologram” as per requirements, and allows configuration to determine whether the hologram is always visible or only on key press.

This configuration will show the hologram for vehicles within 10 game units of the player, when they’re on foot, and while holding the INPUT_CHARACTER_WHEEL action (def: Left Alt). The vehicles
will remain for 60 seconds with no one in them. Timer only begins when a player enters a vehicle and is reset when they enter the vehicle and periodically within.

Script can also handle a list of vehicles to never delete (blacklist), or apply custom times to specific vehicle models (custom).

Filename: config.json

{
  "HologramEnabled": true,           // If true show timer over vehicle til auto deleted
  "HologramKey": 19,                 // Key to show hologram, if 0 will show within distance
  "HologramDistance": 10.0,          // Distance to show hologram if key not configured
  "HologramVisibleInVehicle": false, // Show hologram while in vehicle?
  "TimeToLive": 60,                  // Time for a vehicle to be allowed to sit idle in seconds
  "TimeForUpdate": 30,               // Number of seconds between updates (an approximate)
  "Blacklist": ["police"],           // List of vehicle models to not track 
  "Custom": {                        // List of vehicle models and times to apply to that model
    "police2": 60,
    "sheriff": 15
  }
}

External Script Integration

A vehicle’s “last used” time can be touched by external scripts by triggering an event called AutoDeletePro:TouchVehicle with the network ID as an argument.

Example:

TriggerServerEvent("AutoDeletePro:TouchVehicle", NetworkGetNetworkIdFromEntity(vehicle))

Download

Direct Download:
AutoDeletePro.zip (188.6 KB)
Github:

Check out our other resources

Bus Driver Pro
Backup Pro
Phone Tracker Pro
Ai Taxi Pro
Heli Behavior Pro
Mailman Pro
Garbage Collector Pro
Vehicle Behavior Pro
Plane Behavior Pro
Toggle Siren
Permissions Pro

[ad_2]

Authentic supply: https://discussion board.cfx.re/t/auto-delete-pro-ultimate-vehicle-cleanup-solution/2882553

Leave a Reply
FiveM ESX Scripts

The best scripts and maps

Best support

Problems? We are there to help!

Wide range of products

We have a wide range of products

100% Secure Checkout

Stripe