This script contains 4files that can be edited with the escrow version:
locales/*.lua
You can create as many locales you want and configure which one you will use in config/config.lua. This resource can be completely translated with locales.
client/editable.lua
Edit notifications
Edit camera hacking minigame, progressbar and police notifications
server/editable.lua
Edit logs system
Configure usable items
config/config.lua:
Shared = { Locale ='en', Notify = { duration =5000, -- miliseconds position = 'top-center' -- 'top' or 'top-right' or 'top-left' or 'bottom' or 'bottom-right' or 'bottom-left' or 'center-right' or 'center-left'
}, Logs = { enabled =true, webhook ='', servername ='Uniq Scripts', color =6579450, icon_url ='https://dunb17ur4ymx4.cloudfront.net/webstore/logos/248d77847b320034db12949cf577772b654daadd.png' }, webhook ='', -- your discord channel webhook (logs & recorded camera history) recordTime =30, -- represents time of camera video recording in seconds CopyLink =true, -- whether to copy video download link when playing video or not AllowRotate =true, -- whether to allow camera owners to rotate cameras or not Record =true, -- whether to allow camera recording or not (records are saved to your discord webhook) HackProtection =50000, -- price for protection from hackers (10% chance for hackers to hack the camera) HackRadius =1000, -- radius the hack device will search for (in meters) HackCamera = { -- settings for hacking cameras policeOnly =false, policeJobs = { -- requried ['police'] =true }, policeNotify =true, -- notify police about cameras being hacked cameraDelay =300000, -- delay for restoring all hacked cameras - ms }, Keys = { -- https://docs.fivem.net/docs/game-references/controls/ finish =191, cancel =194, moveUp =85, moveDown =48, moveRight =175, moveLeft =174, moveForward =172, moveBack =173, rotateRight =313, rotateLeft =312, camera_rotateRight =35, camera_rotateLeft =34, camera_rotateUp =32, camera_rotateDown =33, record =57 }, Items = { camera ='camera', tablet ='tablet', hackdevice ='hackdevice' }, Tablet = { dict ="amb@code_human_in_bus_passenger_idles@female@tablet@base", anim ="base", object ="prop_cs_tablet", bone =60309, offset = vector3(0.03, 0.002, -0.0), rotation = vector3(10.0, 160.0, 0.0) }, Object ="prop_cctv_cam_01a", -- camera object | suggested: 'prop_cctv_cam_01b', 'prop_cctv_cam_01a'}-- Framework-- framework loader, configured for the framework you bought