> For the complete documentation index, see [llms.txt](https://docs.0resmon.org/0resmon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.0resmon.org/0resmon/0resmon-1/s4-resources/s4-crosslab/installation.md).

# Installation

1. Drop the `s4-crosslab` folder into your resources directory.
2. Add `ensure s4-crosslab` to your `server.cfg` — make sure it loads after `ox_lib`.
3. That's it. No SQL imports, no additional setup.

The script saves each player's crosshair data as a JSON file inside the `data/` folder. These are created automatically on first save.

## Resource start order

```cfg
ensure ox_lib
ensure s4-crosslab
```

If you're using a framework like QBCore or ESX, CrossLab doesn't depend on either — but the training mode has optional weapon give/remove integration with both. That part is handled automatically through `Config.TemporaryWeapon` mode detection.

## Verify it's working

Once the server starts, join and press the key bound to `crosshair` (default: `F5`). The menu should open. If it doesn't, check the server console for errors — usually it's a missing `ox_lib` or a path issue.


---

# 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://docs.0resmon.org/0resmon/0resmon-1/s4-resources/s4-crosslab/installation.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.
