[QB / QBOX] Automatic AI NPC Police Toggle

A script by OsmFX

No reviews yet.
[QB / QBOX] Automatic AI NPC Police Toggle main image

Full Description

OSM | AI Dispatch System Toggle

Latest Update: QBOX Compatibility and Jail Transport Feature!

Worried about your server’s criminals when no cops are online? This script automatically toggles AI Police and Dispatch Services as soon as no cops are online! It has systems for surrendering in built so you aren’t left struggling!

Features

  • Automatically enables AI Police when no cops are online!
  • Add custom events for adding wanted levels (in the config)
  • Surrender Mechanism WITH JAIL (either use /surrender or put your hands up)
  • Whitelist Jobs so they remain unaffected by AI Police!
  • Enable / Disable patrolling cops around the city.
  • EASY TO SETUP; support covered - just DM me after purchase!
  • No Extra Dependencies (works with default / custom prison)
  • Also has a special trigger that you can use to add wanted-levels for your personalized events, like hotwiring.
  • A config with a few editable parameters, rest its a simple to use script.

Also has a special trigger that you can use to add wanted-levels for your personalized events, like hotwiring.

- NO ENCRYPTIONS OR IP LOCKS

Please watch the script preview for more details.


YOUTUBE PREVIEW

PURCHASE HERE

OTHER SCRIPTS


Update I

  • Automatic wanted levels on Hotwiring
  • Automatic wanted levels on Corner-selling
  • Added an event osm-police:server:setWantedLevel with one parameter wantedLevel to trigger from external scripts (only does the job when AI is on)
  • Added a Config Variable for handling external event triggers in this script
    Example

Update II

  1. Added a Job Whitelist for which AI Police will not be active/(Check config.)

  2. Added a /surrender command which disengages all AI police instantly, and jails you for AIConfig.SurrenderTime (config).

  3. MOST AWAITED - Added a functionality, where putting hands up (x) during a pursuit or combat will cause you to surrender and JAIL just like (2). So now you can evade police by surrendering, at the cost of going to jail.
    Script designed only for QBCore Based FiveM Servers

Code is accessible Yes
Subscription-based No
Lines (approximately) 300+
Requirements QBCore / QBOX
Support Yes

Scripts From our Partner

Also don’t forget to check this awesome Wheel Stancer Script by Tuff:

QBCore | ESX | FiveM Wheel Stancer

He has a lot of other great scripts as well on his store:

Visit His Tebex Store
Tuff Scripts | QBCORE SCRIPTS (tebex.io)