Installing RoxiCrosshairs
RoxiCrosshairs only needs ox_lib and oxmysql. The UI is already built into nui/dist, so you do not need to run a web build on your server.
Required resources
ox_liboxmysql
Resource placement
Place the folder as RoxiCrosshairs. Keep the name exact so exports, callbacks, NUI paths, and version checks stay predictable.
Startup order
ensure oxmysql ensure ox_lib ensure RoxiCrosshairs
Database
The resource uses three small tables for saved crosshairs, favorites, and active preferences. Import sql/schema.sql manually for production servers, or use the included safe startup creation if your build has it enabled.
First run checks
- Open the menu with
/crosshairs. - Create a crosshair from a preset.
- Save it, set it active, reconnect, and confirm it persists.
- Test publish/favorite only if those systems are enabled.
