Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Police Scripts

Opticom Traffic Light System FiveM resource preview

Opticom Traffic Light System

Frameworks:
  • ESX
  • Standalone
  • QBCore
  • vRP

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX, Standalone, QBCore, vRP
File size
11.4 kB
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

This script adds a realistic Opticom infrared system to your server. When an emergency vehicle is detected, the traffic light it is heading to turns green, and nearby traffic can be stopped. It is a standalone script, so it does not depend on ESX, QBCore or another framework.

Features

  • The traffic light the vehicle is heading to turns green on detection
  • Nearby traffic lights turn red on detection
  • Nearby AI traffic stops for the emergency vehicle once the Opticom detects it
  • Works with traffic lights including custom ones
  • Whitelist vehicles other than the emergency class vehicles
  • Blacklist vehicles from being detected
  • Traffic lights and traffic reset after a defined period of time
  • Configuration options including detection distance, detection range, emergency vehicle class whitelist on/off and traffic stopping on/off
  • Synced between players, OneSync compatible

Requirements

  • No framework needed (standalone)

Installation and usage

  • Place the resource folder in your server's resources folder and add it to your server.cfg.
  • Edit the configuration in settings.ini, for example to enable or disable the emergency vehicle class whitelist.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

Opticom Traffic Light System

In your downloads
  • Origen Police
    • ESX
    • QBCore
    Not for your framework

    Origen Police (QBCore & ESX)

    Origen Network

    $23.00$16.10
  • Horse
    • Standalone

    Sheriff Horse System (Standalone)

    $11.99$8.39
  • CD Dispatch FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    CD Dispatch

    Codesign

    $20.00$14.00
  • MDT
    • ESX
    Not for your framework

    Police System CAD/MDT

    $24.99$17.49
  • FiveM Firefighter Tools
    • Standalone

    Firefighter Tools

    Alien Modding

    $13.00$9.10
  • Megaphone Mod (Vehicle & Handheld) FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Megaphone Mod (Vehicle & Handheld)

    ScriptsM

    $19.00$13.30
  • Advanced Police Job FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Advanced Police Job

    Wasabi Scripts

    $29.99$20.99
  • Prison
    • ESX
    Not for your framework

    Prison / Jail MLO + Script

    $24.99$17.49