AI Trooper

30.00 USD

ALL SCRIPTS ESCROWED USING FIVEM ESCROW SYSTEM

Package Description

This script offers speed cams, traffic cops, police chases, traffic fines, roadblocks and much more...

This script is perfect for cities needing a little help keep control of their players driving habits not following server traffic rules while giving the players a little fun in return.

Requirements:

Pnotify

ESX Billing

Interactsound 

https://www.youtube.com/watch?v=5UK--nORcN4

Traffic Cops

A AI traffic cop that will chase players if speeding thru speed cams.

Actions:

  • High Speed Chases
  • Fines and Fees
  • Extra Fees if caught
  • More speed cams can be added in confg

RoadBlocks

Roadblocks where if players cross and are driving with no license will be fined .  

Actions:

  • Add or Move roadblocks in config.



Assests Included In Package For Keymaster 

SteetCode Ai Trooper

SteetCode KickStarter


Resource Integration

Script needs no integration....


Discord Support

All scripts come with support via discord. I prefer voice chat to help people out faster and more efficient


Config


Config              = {}

Config.NewESX = true    --switch on/off blips

Config.billing = true    --switch on/off billing

Config.sound = true    --switch on/off sound

Config.flash = true    --switch on/off flash

Config.blips = true --switch on/off blips

Config.alert = true -- Switch on/off alert

Config.alertSpeed = 150    --Speed to alert real cops at in KMH

Config.defaultPrice60 = 500    --Price for speeding in 60 zone

Config.defaultPrice80 = 500    --Price for speeding in 80 zone

Config.defaultPrice120 = 500    --Price for speeding in 120 zone

Config.extraZonePrice10 = 100    --Extra charge for 10 miles over

Config.extraZonePrice20 = 200    --Extra charge for 20 miles over

Config.extraZonePrice30 = 300    --Extra charge for 30 miles over

Config.Recktickprice = 3000  ---Fee if caught by cop

Config.Roadblocks = false  ----switch on/off roadblocks(reset script to place updates in real time

Config.NoLicense = 1500 --- roadblock no license fee

Config.area60maxspeed = 60   --In KMH

Config.area80maxspeed = 80    --In KMH

Config.area120maxspeed = 120    --In KMH



Config.blipslo = {

    -- 60KM/H ZONES

    {title="Speedcamera (60KM/H)", colour=1, id=1, x = -524.2645, y = -1776.3569, z = 21.3384}, -- 60KM/H ZONE

    

    -- 80KM/H ZONES

    {title="Speedcamera (80KM/H)", colour=1, id=1, x = 2506.0671, y = 4145.2431, z = 38.1054}, -- 80KM/H ZONE

    {title="Speedcamera (80KM/H)", colour=1, id=1, x = 1258.2006, y = 789.4199, z = 104.2190}, -- 80KM/H ZONE

    {title="Speedcamera (80KM/H)", colour=1, id=1, x = 980.9982, y = 407.4164, z = 92.2374}, -- 80KM/H ZONE

    

    -- 120KM/H ZONES

    {title="Speedcamera (120KM/H)", colour=1, id=1, x = 1584.9281, y = -993.4557, z = 59.3923}, -- 120KM/H ZONE

    {title="Speedcamera (120KM/H)", colour=1, id=1, x = 2442.2006, y = -134.6004, z = 88.7765}, -- 120KM/H ZONE

    {title="Speedcamera (120KM/H)", colour=1, id=1, x = 2871.7951, y = 3540.5795, z = 53.0930} -- 120KM/H ZONE

}


Config.Speedcamera60Zone = {

    {x = -524.2645,y = -1776.3569,z = 21.3384}

}


Config.Speedcamera80Zone = {

    {x = 2506.0671,y = 4145.2431,z = 38.1054},

    {x = 1258.2006,y = 789.4199,z = 103.2190},

    {x = 980.9982,y = 407.4164,z = 92.2374}

}


Config.Speedcamera120Zone = {

    {x = 1584.9281,y = -993.4557,z = 59.3923},

    {x = 2442.2006,y = -134.6004,z = 88.7765},

    {x = 2871.7951,y = 3540.5795,z = 53.0930}

}

-------------------------------------------------------------------------

---Roadblock---

Config.zones = {

    

    { ['x'] = 36.63, ['y'] = -1134.56, ['z'] = 29.34} ---gun store

    

}



Config.showNotification = true -- Show notification when in Safezone?

Config.safezoneMessage = "You are currently in a Roadblock" -- Change the message that shows when you are in a safezone

Config.radius = 50.0 -- Change the RADIUS of the Safezone.

Config.speedlimitinSafezone = false -- Set a speed limit in a Safezone (MPH), Set to false to disable



-- Change the color of the notification

Config.notificationstyle = "success"

--Notification Styles

-- inform

-- error

-- success