Here we're going to guide you in the installation of origen_police.
First we want you to know that our script only supports the following versions of the two most used frameworks, in older versions it may be usable but we do not provide support since the development focuses on the following versions:
server.cfg
ensure oxmysql/icmysql
ensure qb-core
...(make sure to start the inventory before the script)
ensure pma-voice
ensure origen_police
Now you have to insert the SQL files into your database:
Now you will need to register your license as the qbcore.god group. To do this, you can use this example replacing your license.
add_principal identifier.license:8f1a3xxxxxxxxxxxxxxxx qbcore.god # Player Name
To check if you have correctly configured the permissions you should have the empty Config.Maps which is in config/markers.lua and the SETTINGS button should appear at the bottom right of the tablet.
Example of how the Config.Maps should be:
config/markers.lua
Config.Maps = { -- YOU CAN USE THIS OPTION OR THE IN GAME MENU INSIDE THE POLICE TABLET-- PLACE YOUR STATION NAME HERE, Example: "default-gta"}
If you have the config/markers.lua correctly, you should get this message on F8 when starting the script for the first time:
WARNING: NO ACTIVE MAPS, PLEASE ADD SOME IN THE SETTING TAB OF THE POLICE TABLE
Screenshot of the location of the settings tab, if it's not showed check this guide again or ask in our discord server.
You will need to check that the permission group your character has is one of those listed in config/permissions.lua. Example of the default ones:
Config.PermissionsGroups = {"mod", "admin", "superadmin", "god" -- list of groups that will have all permissions, like "mod", "admin", "superadmin", etc}
To check if you have a valid permission group you should have the empty Config.Maps which is in config/markers.lua and the SETTINGS button should appear at the bottom right of the tablet.
Example of how the Config.Maps should be:
config/markers.lua
Config.Maps = { -- YOU CAN USE THIS OPTION OR THE IN GAME MENU INSIDE THE POLICE TABLET-- PLACE YOUR STATION NAME HERE, Example: "default-gta"}
If you have the config/markers.lua correctly, you should get this message on F8 when starting the script for the first time:
WARNING: NO ACTIVE MAPS, PLEASE ADD SOME IN THE SETTING TAB OF THE POLICE TABLE
Screenshot of the location of the settings tab, if it's not showed check this guide again or ask in our discord server.
Important
Remember to follow the pma-voice installation steps here: