Installation
Prerequisites
The following resources must be installed and started before pyra-reports:
| Resource | Where to get it |
|---|---|
| ox_lib | github.com/overextended/ox_lib (opens in a new tab) |
| oxmysql | github.com/overextended/oxmysql (opens in a new tab) |
| pyra-bridge | Included in your purchase download |
Steps
Place the resource
Copy the pyra-reports folder into your server's resources/ directory. You can place it in a subfolder (e.g. resources/[pyra]/pyra-reports) — FiveM will find it.
Add to server.cfg
ensure ox_lib
ensure oxmysql
ensure pyra-bridge
ensure pyra-reportsox_lib, oxmysql, and pyra-bridge must appear above pyra-reports in your config.
Restart the server
Restart your FiveM server, or run these commands in the server console:
refresh
start pyra-reportsNo SQL import needed. Pyra Reports automatically creates the pyra_reports table the first time the resource starts.