If you haven't already, be sure to install and configure the plugin framework first. This resource is included in the base framework.
server.cfg file add the following new line:
If you wish to use a custom login page, you can set a convar in your server.cfg. The easiest way to show your custom login page is to use a query string.
YOUR_COMMUNITY_ID_HERE in the URL with your community ID.
Add the following to your server.cfg before starting the tablet resource:
setr sonorantablet_cadUrl "YOUR_URL_HERE"
Fill in with your actual URL above with the comid you want.
/showcad command in-game to toggle your tablet. You can also add a custom keybind to open the tablet by going to
GTA Settings > Keybinds > FiveM
/cadsize <width> <height> command to resize the tablet to best fit your screen. This size persists on reload of the client.
/cadrefresh command to refresh the tablet if it's not loading properly.
/minicad command in-game to display your Mini-CAD. You must be logged into the Police or Fire CAD, and need to have your API ID set.
While open, use
/showcad to focus the minicad and allow the elements to be clickable, such as the Attach button.
You can close or move the Mini-CAD by opening the tablet, and interacting with the Mini-CAD window.
(Experimental) Use the
/minicadsize <width> <height> command to resize the Mini-CAD to best fit your screen. This size persists on reload of the client.
/minicadrefresh command to refresh the Mini-CAD if it's not loading properly.
Left Arrow Key to display the previous call.
Right Arrow Key to display the next call.
K key to attach or detach to/from the displayed call.
L key to toggle display of the call details.
All these commands can be edited from the Keybinds menu.
When a user signs into the CAD using the in-game tablet, their API ID can be automatically be set in the CAD.
To enable this, open the check API plugin's config and set