# SA-TRAFFICLIGHTSPRIORITY

* What does this script offer? By name is obvious that this script manages traffic.
* In config, you can set up which cars with sirens on can turn traffic lights into the green. ![:small\_blue\_diamond:](https://discord.com/assets/85e5fb9f60873c46d98c8ab4efdf4066.svg)&#x20;
* Also, you can setup it up for everyone who is in the car. How does it work? When the driver stops in front of the traffic light it turns the traffic lights green.<br>

{% embed url="<https://youtu.be/hD-79tSRIj8>" %}

#### Configuration <a href="#configuration-1" id="configuration-1"></a>

{% tabs %}
{% tab title="Config" %}
{% hint style="info" %}
You will find everything you need in config.lua
{% endhint %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-TrafficLightsPriority/previews/config.lua>" %}
{% endtab %}
{% endtabs %}

**Features**

* Resmon - 0.00ms idle / 0.01ms-0.08 use (It depends on speed of car)
* Configurable - config
* 1 Threads
* Easy-to-Configure!

We are using Asset Escrow system


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://studio-players.gitbook.io/studio-players/esx-scripts/sa-trafficlightspriority.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
