# Realistic Tire Smoke

`Tire Smoke` is a FiveM tire smoke system that generates realistic drift and burnout smoke particles on all four wheels.

It supports both standard white smoke and custom colored smoke based on the vehicle’s tire smoke color settings. The system is designed to create a more immersive driving experience during drifting, sliding, and burnouts.

With built-in surface filtering, configurable smoke density, burnout scaling, and persistent state saving, the resource is easy to install, simple to configure, and ready to use on any server setup.

### Features

* Realistic drift and burnout smoke effects
* Smoke generated on all four wheels
* Support for white and colored tire smoke
* Automatically uses custom tire smoke colors from Los Santos Customs
* Configurable smoke density and scale
* Adjustable drift sensitivity
* Enhanced burnout smoke with progressive growth
* Surface-based smoke filtering
* Persistent enabled/disabled state using `ResourceKvp`
* Simple configuration file

### How it works

The resource checks each wheel’s traction every frame.\
When the traction exceeds the configured threshold, the wheel starts emitting smoke.

White tires use a standard smoke particle, while vehicles with custom tire smoke colors use a colored particle with the exact RGB values applied automatically.

During burnouts, the smoke effect can grow over time to create a heavier and more dramatic visual effect.

### Included Pages

* Installation
* Configuration

### Requirements

Before using this resource, make sure all required dependencies are installed and started correctly.

### Notes

* Smoke can be generated on all four wheels
* Colored smoke is applied automatically when custom tire smoke is set
* Smoke only appears on allowed surface materials
* The resource starts automatically when the player is loaded
* No additional setup is required after installation


---

# 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://mskscripts.gitbook.io/mskscripts/scripts/realistic-tire-smoke.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.
