This repository includes several FiveM integrations for SnailyCADv4.
For regular installation please see the documentation.
This must be used together with the Wraith ARS 2X resource. When a player runs a plate, it will automatically search the plate in your SnailyCAD instance.
This will allow a player to contact 911 Services from the chat. /sn-call911 <message>
This will allow a player to contact Tow Services from the chat. /sn-calltow <message>
This will allow a player to contact Taxi Services from the chat. /sn-calltaxi <message>
When this is enabled, it will automatically send the current postal code when a player contacts 911, Tow or Taxi services. For further details see the documentation.
This will allow a player to interact with your SnailyCAD instance from the game. For further details see the documentation.
Warning This is only for developers who want to contribute to the project.
- Clone the repository:
git clone https://github.com/SnailyCAD/fivem-integrations.git
. - Install dependencies:
pnpm install
. - Copy
.env.example
to.env
and enter your FXServer path. - Run the dev command
pnpm run dev
. This will listen for changes and automatically update the files in your FXServer. - Manually run
restart <resource>
in your FXServer console to restart the resource.
- Run the bump releases script:
node scripts/bump-version.mjs <version-here>
. - Commit the changes:
git commit -am "chore(release): <version-here>
. - Push the changes:
git push
.