For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

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.