RS_PolyAI – NPC Vehi

10.00GBP

Package Description

Description:

Keep your server streets clean and realistic with this fully configurable NPC vehicle cleanup script! Perfect for roleplay servers, this script lets you define multiple zones using PolyZone and automatically removes unwanted NPC vehicles while keeping player-owned cars safe.

Features:

  • PolyZone support – Define custom areas for vehicle deletion.

  • In-game zone recorder – Add points for new zones without editing code.

  • Buffer zone – Remove vehicles slightly outside your polygons.

  • ESX-owned protection – Player vehicles are never deleted.

  • Debug drawing – See zones in-game while testing.

  • Configurable – Easily toggle features, keybinds, deletion intervals, and buffer sizes.

  • Queue-safe deletion – Works with ESX callbacks for owned vehicles.

  • Supports multiple zones – Add as many polygons as you like.

Installation:

  1. Place the resource in your server’s resources folder.

  2. Add it to your server.cfg.

  3. Update your config.lua with custom zones and settings.

  4. Optional: Use the in-game recorder to create zones dynamically.

Keybinds (configurable):

  • E – Add a point to the zone.

  • G – Finish and save the PolyZone.

  • H – Reset current recording.

Notes:

  • Requires ESX framework.

  • Works best on servers with PolyZone installed.

  • Adjust minZ and maxZ in config to match ground heights for your zones.

Support:

  • Full setup instructions included.

  • Contact for custom zones or additional features.