- fix: require personal API token for event validation (911-call and panic button notificatios)
- chore(debug): add version debug on initialize.
- fix: 911 call notifications being sent to all players in the server instead of only on-duty units.
- fix: panic button notifications being sent to all players in the server instead of only on-duty units.
- fix: avoid duplicate notifications
- chore: update dependencies.
- chore: update dependencies.
- feat: ability to self-assign to an incoming 911 call.
- chore: update dependencies.
- fix: unable to load custom postal codes.
BREAKING CHANGES:
sna-postals
@0.12.0
now exports the postals instead of other integrations loading the file. This means you are required to updatesna-postals
AND all the other used resources for it to work properly. Make sure to backup your custompostals.json
file before updating.
- chore: add warning when API URL is not available client-side.
- refactor: rewrite NUI to use React
- chore: update dependencies
- chore: add update checker
- chore: code refactor
- fix: clarify usage of Personal API Tokens.
- feat: use custom SnailyCAD notification system for ALPR results (
sna-alpr
).
Warning
SnailyCAD's ALPR integration (sna-alpr
) now requires sna-sync
to be installed and started in your FXServer.
- chore: use official SnailyCAD util packages.
- fix: ALPR BOLO results
- feat: type-safety with official SnailyCAD types
- Custom In-Game notification system. This is in beta and will be improved over time.
Warning
Requires SnailyCAD version 1.68.1
or higher.
- Automatically set a unit off-duty when they leave the server. (Disabled by default)
- Downgrade
sna-sync
to fxversionbodacious
to allow HTTP connections to SnailyCAD inside NUI.
- Add
sn-traffic-stop
command. This allows units to create a 911 call for a traffic stop. Their current location is automatically attached and they're automatically assigned to the call.
- Add
documentation.url
shortcuts to the resources. - Ability to assign yourself to a call using
/sn-attach <case-number>
. - Ability to view all active calls and assign/unassign yourself to/from a call using
/sn-attach
. - Update dependencies.
- Add
sn-panic-button
command. This allows players to toggle panic button state on their active unit. - Update older commands to use the new SnailyCAD format. (
sn-call911
,sn-calltow
,sn-calltaxi
). - Add chat suggestions for other commands (
sn-call911
,sn-calltow
,sn-calltaxi
). - Append correct version to the
fxmanifest.lua
files.
Building on top of the previous release, players who are authenticated with SnailyCAD (using the sn-auth
command.) are now able to view their active unit and set the status for their active unit.
- Add
sn-set-status
command. This allows players to set their status for their active unit. (If no argument is provided, it will open a menu with all available codes) - Add
sn-active-unit
command. This allows players to view their active unit.
- Add
sn-whoami
command. This allows players to view their current SnailyCAD username and ID. - Add
sn-auth
command. This allows players to authenticate with SnailyCAD's API and interact with the CAD in-game.
- Add debug logging for
sna-sync
- feat: add
sna-sync
: Sync AOP changes, Signal 100 toggles to all players
- fix(sna-alpr): remove spaces from plates
- update dependencies
- fix: correctly calculate distances for postals
- Update dependencies
- Add support for
gtaMapPosition
for/call911
- Update dependencies
- Remove debug logs
- Set fx version to
cerulean
- Fix sna-alpr
- Update dependencies
- Update dependencies
- feat: add
/calltaxi
support
- feat: Show message if owner has active warrants
- Add postal support
- Updated documentation
- Initial Release