ALL SCRIPTS ESCROWED USING FIVEM ESCROW SYSTEM
ESX Required
Ox Lib Required
StreetCode Training Day
๐ฎ AI POLICE PARTNER
Go on duty and receive an AI police partner that can accompany you during police activity.
AI partner controls include:
- Non-Aggressive
- Aggressive
- Patrol
- Clear
- Ride With Me / Drive Self
- Hold Position
- Follow On Foot
- Follow Vehicle
- Cover Fire
- Protect
- AI partner weapon management
The AI partner can follow the player on foot and can also follow the player's vehicle when the appropriate command is used.
The AI partner command menu can be opened through the configured partner command/keybind. The current configuration usesย K for the AI Partner Menu.
๐ POLICE COMMAND SYSTEM
Police command access allows the configured command-grade officer to manage nearby police officers.
Command functions include:
- Hire Officer
- Fire Officer
- Promote Officer
- Demote Officer
- Assign AI Partner
- Manage AI Partner
Command access is restricted to the configured police command grade.
๐ก๏ธ AI SWAT UNIT
The resource includes an AI SWAT unit consisting ofย five SWAT officers and a SWAT vehicle.
The SWAT unit includes:
- SWAT 1โ5
- SWAT vehicle
- AI weapon assignment
- AI combat settings
- AI skill settings
- Follow behavior
- Vehicle seating behavior
- SWAT HUD displaying active units
- Non-Aggressive mode
- Aggressive mode
- Weapons
- Clear
- Hold Position
The SWAT unit uses the configured SWAT grade and has its own command menu.
๐ฏ AI OFFICER SKILL SYSTEM
AI officers have a skill progression system using Skill Points.
Available skills:
- Combat Ability โ improves the officer's combat effectiveness
- Combat Movement โ improves movement during combat
- Combat Range โ improves effective combat range
- Alertness โ improves awareness and reaction time
Each skill has its own maximum level, and upgrades require Skill Points.
The skill menu displays:
- Available Skill Points
- Current skill level
- Maximum skill level
- Upgrade cost
The skill menu is available through the configuredย I keybind.
๐ซ AI PARTNER WEAPON SYSTEM
AI partners can have weapons purchased and equipped through the AI Partner weapon menu.
Configured weapons include:
- Pistol
- Combat Pistol
- SMG
- Carbine Rifle
- Pump Shotgun
- Assault Rifle
Weapons use Skill Points for purchasing, and purchased weapons are permanently unlocked for the AI partner.
๐ AI POLICE DUTY
Players can go on and off duty at the configured LEO Duty location.
The duty system includes:
- On Duty
- Off Duty
- LEO Duty blip
- AI police spawning when going on duty
- AI partner cleanup when going off duty
- SWAT cleanup when going off duty
๐ก POLICE DISPATCH SCENARIOS
While on duty, the resource can generate random police calls.
Configured random calls include:
- Erratic Dealer
- Erratic Driver
- Wellness Check
- Store Robbery
The dispatch system gives the player an incoming call and allows the player toย answer or ignore the call.
๐ ERRATIC DRIVER
The Erratic Driver scenario creates a police pursuit situation.
Features include:
- Random civilian ped models
- Random civilian vehicles
- Vehicle spawning at a distance from the player
- Police reaction distance
- Vehicle fleeing
- Suspect abandoning the vehicle
- Suspect fleeing on foot
- AI police response
- Suspect surrender behavior
- Search interaction
- Arrest interaction
- Probable-cause check before arrest
- Taser response leading into AI police arrest behavior
๐ช STORE ROBBERY
The Store Robbery scenario creates a robbery involving:
- A store clerk
- Three robbers
- Police dispatch notification
- Robbery blip
- Waypoint to the robbery
- Random configured store location
- Line-of-sight check before the scene spawns
- Three hostile robbers
- Clerk survival outcome
- Skill Point reward when all three robbers are eliminated and the clerk survives
The robbery only completes after all three robbers are dead, with the clerk's survival then determining the outcome.
๐ WELLNESS CHECK
The Wellness Check scenario sends the officer to a configured location.
Features include:
- Dispatch notification
- Wellness Check blip
- Waypoint
- Configured wellness locations
- Male and female occupants
- Domestic-violence scene
- Female hands-up animation
- Male armed with a pistol
- Male aiming at the female
- Scene completion
- "Everything is okay" outcome
- Scene cleanup
๐ฅ GANG DISTURBANCE
The Gang Disturbance system can create gang activity involving groups of gang members.
Configured features include:
- 4โ7 gang members
- Warning delays
- Hostile activity
- Possible rival gang drive-by
- Rival vehicle
- 2โ3 rival passengers
- Drive-by attack
- Rival vehicle fleeing
- Cleanup behavior
๐ฅ GANG WAR SYSTEM
Gang War provides configured gang-versus-gang shootout events.
Features include:
- Automatic Gang War events
- Minimum police requirement
- Event cooldown
- Maximum event duration
- Police dispatch radius
- Combat radius
- Gang War blip
- Gang War radius blip
- Multiple configured gang locations
- Different gang models
- Different gang weapons
- Gang-versus-gang relationships
- Gang hostility toward players
- Gang hostility toward AI police
- Networked gang members
- Gang member death tracking
โค๏ธ AI POLICE CPR / REVIVE
The AI police system also includes a CPR sequence.
The AI officer performs:
- CPR intro animation
- CPR chest-pump animations
- Configured CPR pumps
- Player revive through the configured medical system
The resource supports the configured StreetCode EMS revive event and an ESX ambulancejob revive event.
๐ LEO VEHICLE SHOP
The resource includes an LEO vehicle shop with configured police vehicles.
The shop provides:
- LEO Surplus blip
- Vehicle list
- Vehicle preview
- Vehicle pricing
- Buy Vehicle option
- Preview vehicle cleanup
The current configuration includes:
- Police
- Police2
- Police3
- Police4
๐ AI PARTNER HUD
The resource includes an AI Police HUD that displays information for the active AI partner.
The SWAT system also includes a HUD for active SWAT units, displaying the currently active SWAT officers.
โ๏ธ CONFIGURATION
The resource includes configuration for:
- Framework selection
- Police job
- Command grade
- SWAT grade
- AI police names
- AI police ped models
- AI police vehicles
- Callsigns
- Duty location
- AI police base
- Weapons
- Drug item lists
- Wellness Check locations
- LEO vehicle shop
- Gang Disturbance
- Gang War
- Scenario settings