SnailyCAD / fivem-integrations

FiveM Integrations for SnailyCADv4

Home Page:https://docs.snailycad.org/docs/fivem-integrations/scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@snailycad/fivem-integrations

This repository includes several FiveM integrations for SnailyCADv4.

Please see documenation here

Installation

For regular installation please see the documentation.

Integrations

sna-alpr

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.

sna-call911

This will allow a player to contact 911 Services from the chat. /sn-call911 <message>

sna-calltow

This will allow a player to contact Tow Services from the chat. /sn-calltow <message>

sna-calltaxi

This will allow a player to contact Taxi Services from the chat. /sn-calltaxi <message>

sna-postals

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.

sna-sync

This will allow a player to interact with your SnailyCAD instance from the game. For further details see the documentation.

Developer Docs

Source code installation

Warning This is only for developers who want to contribute to the project.

  1. Clone the repository: git clone https://github.com/SnailyCAD/fivem-integrations.git.
  2. Install dependencies: pnpm install.
  3. Copy .env.example to .env and enter your FXServer path.
  4. Run the dev command pnpm run dev. This will listen for changes and automatically update the files in your FXServer.
  5. Manually run restart <resource> in your FXServer console to restart the resource.

Publishing

  1. Run the bump releases script: node scripts/bump-version.mjs <version-here>.
  2. Commit the changes: git commit -am "chore(release): <version-here>.
  3. Push the changes: git push.

About

FiveM Integrations for SnailyCADv4

https://docs.snailycad.org/docs/fivem-integrations/scripts

License:MIT License


Languages

Language:TypeScript 89.0%Language:JavaScript 8.0%Language:Lua 1.4%Language:HTML 1.1%Language:CSS 0.5%