> For the complete documentation index, see [llms.txt](https://zloma-scripts.gitbook.io/zloma-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zloma-scripts.gitbook.io/zloma-scripts/zloma_stance-free-escrow/api-reference/client-exports.md).

# Client Exports

## IsInWheelZone

Returns whether the local player is currently inside a stance zone.

```lua
local inZone, zoneId, zoneConfig = exports['zloma_stance']:IsInWheelZone()
```

| **Returns**  | Type        | Description                                            |
| ------------ | ----------- | ------------------------------------------------------ |
| `inZone`     | boolean     | Whether the player is inside a configured fitment zone |
| `zoneId`     | string\|nil | Current zone key                                       |
| `zoneConfig` | table\|nil  | Zone configuration table                               |

***

## ApplyWheelFitment

Applies wheel fitment to a vehicle using its network ID.

```lua
exports['zloma_stance']:ApplyWheelFitment(netId, data)
```

Accepted data formats:

1. Database delta format:

```lua
{
    stance = { fl = 0.02, fr = 0.02, rl = 0.03, rr = 0.03 },
    camber = { fl = -0.5, fr = 0.5, rl = -1.0, rr = 1.0 }
}
```

2. Absolute normalized format:

```lua
{
    off_fl = 0.10,
    off_fr = 0.10,
    off_rl = 0.12,
    off_rr = 0.12,
    cam_fl = 0.0,
    cam_fr = 0.0,
    cam_rl = 0.0,
    cam_rr = 0.0
}
```

The export internally routes through the same logic used by the spawn-apply event.

***

## ApplyWheelFitmentToVehicle

Applies wheel fitment directly to a vehicle entity if it is networked.

```lua
local ok = exports['zloma_stance']:ApplyWheelFitmentToVehicle(vehicle, data)
```

| Param       | Type    | Description                                    |
| ----------- | ------- | ---------------------------------------------- |
| `vehicle`   | number  | Vehicle entity handle                          |
| `data`      | table   | Wheel fitment data in delta or absolute format |
| **Returns** | boolean | `true` if a valid networked entity was handled |

***

## Shared Locale Helpers

These shared utility exports are also available client-side:

### Lang

```lua
local text = exports['zloma_stance']:Lang('guide_textui_open')
```

### SetLocale

```lua
exports['zloma_stance']:SetLocale('hr')
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://zloma-scripts.gitbook.io/zloma-scripts/zloma_stance-free-escrow/api-reference/client-exports.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.
