Installation
If you aren't familiar with programming or just you don't know how to set up the script, we present our installation guide which is as comprehensive as possible so you don't have any difficulties.
STEP 1 - Download
Download mst_fpscanner and mst_bridge from Portal.
STEP 2 - Dependencies
Required:
es_extended or qb-core or qbx_core
STEP 3 - Resources order
ensure ox_lib
ensure es_extended/qb-core/qbx_core
ensure qb-target/ox_target
ensure screenshot-basic
ensure mst_bridge
ensure mst_fpscannerSTEP 4 - Database
Without adding these items to the database, the script will not work!
Add the images from the
inventory_imagesfolder insidemst_fpscannerto your inventory system’s image directory.
DELETE FROM items WHERE name = 'mobilescanner';
DELETE FROM items WHERE name = 'staticscanner';
INSERT INTO `items` (`name`, `label`, `weight`) VALUES
('mobilescanner', 'Mobile Fingerprint Scanner', 1),
('staticscanner', 'Static Fingerprint Scanner', 1)
;mobilescanner = { name = 'mobilescanner', label = 'Mobile Fingerprint Scanner', weight = 1, type = 'item', image = 'mobilescanner.png', unique = true, useable = true, shouldClose = true, description = 'A portable device used to scan fingerprints on the go' },
staticscanner = { name = 'staticscanner', label = 'Static Fingerprint Scanner', weight = 1, type = 'item', image = 'staticscanner.png', unique = true, useable = true, shouldClose = true, description = 'A stationary fingerprint scanner that can be placed in a location' },['mobilescanner'] = {
label = 'Mobile Fingerprint Scanner',
weight = 1000,
stack = false,
close = true,
description = 'A portable device used to scan fingerprints on the go',
client = {
image = 'mobilescanner.png'
}
},
['staticscanner'] = {
label = 'Static Fingerprint Scanner',
weight = 2000,
stack = false,
close = true,
description = 'A stationary fingerprint scanner that can be placed in a location',
client = {
image = 'staticscanner.png'
}
}mobilescanner = { label = "Mobile Fingerprint Scanner", weight = 1, type = "item", image = "mobilescanner.png", unique = true, useable = true, shouldClose = true, description = "A portable device used to scan fingerprints on the go" },
staticscanner = { label = "Static Fingerprint Scanner", weight = 1, type = "item", image = "staticscanner.png", unique = true, useable = true, shouldClose = true, description = "A stationary fingerprint scanner that can be placed in a location" },STEP 5 - Fivemanage Setup
Open Fivemanage
Create an account
Go to "Tokens" in the sidebar and then "Create Token"
Choose a name and "Images only" type from the dropdown
Finish with "Create Token"
Add setr FIVEMANAGE_MEDIA_API_KEY yourToken in server.cfg below
mysql_connection_stringfor exampleCopy the token you made and put it in place of
yourTokenSave the changes and restart your server
STEP 6 - Any other configurations?
At Mosoto Scripts, we are constantly improving our resources, and for this reason you do not need to run the SQL manually, this happens automatically when you run the script for the first time.
STEP 7 - Not working?
We hope you won’t need this step, but if you do, feel free to join our Discord and open a support ticket. :)
Last updated