You can set how much rage an anklet will have, in config you will find the maximum range:
Commands
You can use /tracker command to open the tracker system with one of the allowed jobs in config
Tracker System
Phone Tracker
You can decide how much time the blip to track phones will persist on game map, this is done for game purpose (sometimes this feature can be OP for police) and for performance.
In this case 5 is 25 seconds: (Current: 5 * 5000 = 25 seconds)
Animations
You can disable all animations from config
If you enable RpEmotes option, you need a script for animations
If you have RpEmotes you can leave the exports like this
you can change the "tablet" animation with any other animation
If you have a different script for animations just change the exports
Blips Appearance
In config you can edit blips type, color, and scale
Logs
You can log when a new anklet is created and when is removed, just add your Discord Webhook link in config file
Translations
You can select with this settings what local you prefer
You can add more locals, just add a code block like this in config file
For example:
SQL
This script works with any db, you can adapt everything from config
The original query for phone is:
You Must add this table in your DB, If you didn't recieve SQL file:
-- Animation
Config.EmoteTablet = function() -- You can change here events for animation
exports["rpemotes"]:EmoteCommandStart("tablet", nil)
end
Config.EmoteReset = function() -- You can change here events for animation
exports["rpemotes"]:EmoteCancel()
end
-- Animation
Config.EmoteTablet = function() -- You can change here events for animation
exports["Your Export"]:??
end
Config.EmoteReset = function() -- You can change here events for animation
exports["Your Export"]:??
end
-- Log webhooks for discord
Config.WebhookNewAnklet= ""
Config.WebhookRemoveAnklet= ""
Config.Local = "en" -- it,es,fr,en,de Transaltion
Config.TranslateEN = {
blips_off = "Blips deactivated",
blips_on = "Blips activated",
leave = "Player escaped with ankle monitor: ",
invalid_limit = "Please enter a valid limit",
max_range = "Please enter a number lower as boundary. Maximum: ",
tracked = "The target already has a tracking bracelet.",
no_player = "There is no player near you",
removed = "Successfully removed the tracker",
no_tracker = "The target does not have a tracking bracelet.",
quit = "Player left the server with ankle monitor: ",
cut = "Someone cut an anklet",
success = "Done",
car_success = "Tracker connected to vehicle",
car_error = "No cars nearby",
jammer_on = "Jammer on",
}
Config.TranslateJP = {
blips_off = "Your new translation",
('SELECT '..Config.DbIdentifier ..' FROM '..Config.PhoneDbTable..' WHERE '..Config.DbPhoneNumber ..' = @phone_number')
Config.PhoneDbTable = "users" -- users db table
Config.DbIdentifier = "identifier" --identifier field inside users db table
Config.DbPhoneNumber = "phone_number" --phone field inside users db table
Config.Props = true --Enable props when add a new tracker
Config.InstallTimes = {
Tracker = 5, -- How Many seconds will take to install the tracker
BoltCutter = 7 -- how many seconds will take to deattach the tracker
}
-- NOTIFICATION
Config.Notification = function(message, type) -- You can change here events for notifications
TriggerEvent("esx:showNotification", message, type) -- type can be "info", "error", "success"
end