Info | Binoculars
NEXT SCRIPTS BINOCULARS

Description
Buy
Showcase Video
Features
Config
Last updated
NEXT SCRIPTS BINOCULARS

Last updated
Config = {}
Config.Framework = "ESX" -- ESX, QBCORE, CUSTOM or STANDALONE
Config.UseESXExport = false -- Do you use ESX Version 1.8.5 or higher ??
Config.ESXTrigger = 'esx:getSharedObject'
Config.Locale = "de" -- en, de or create you own language in locales.lua
-------------------------
-- KeyMapping Settings --
-------------------------
Config.UseKeyMapping = false
Config.KeyMappingKey = 'H'
Config.KeyMappingSettings = {
default = "STANDART",
standart = true,
thermal = false,
night = false
}
-------------------
-- Zoom Settings --
-------------------
Config.MinZoom = 65.0 -- Its FOV so 1 is most Zoomed in and 130 is most zoomed out. I would not reccomed to set it higher than 165 so you dont see yourself in the fov
Config.MaxZoom = 1.0 -- Can not be smaller than one
Config.StandartZoom = 65.0 -- The value has to be between Config.MinZoom & Config.MaxZoom
-------------------------
-- How far you can Pan --
-------------------------
Config.MaxPanUp = 50.0
Config.MaxPanDown = -30.0
--------------------------
-- Roation & Zoom Speed --
--------------------------
Config.PanSpeed = 1
Config.ZoomSpeed = 1
-----------------
-- UI Settings --
-----------------
Config.DrawBinocularRings = true -- You want the Black rings or not
Config.DrawCrosshair = true -- You want the Crosshair or not
Config.DrawControlInstructions = true -- You cant the to Display the Keys on Bottom Right
Config.ResetZoom = true -- Reset the Zoom to Config.StandartZoom if you stop using the Binocular
Config.DrawVisionName = true -- Text which shows the Current Name of the Vision State (Normal, Thermal, Night)
Config.DrawZoomLevel = true -- You want a Text with the current Zoom Level
Config.ZoomLevelPosition = 'middle' -- "middle" or "top-right"
Config.Items = {
["binoculars"] = {
default = "STANDART",
standart = true,
thermal = true,
night = true,
joblock = false,
jobs = {
}
},
--[[["multibinoculars"] = {
default = "STANDART",
standart = false,
thermal = true,
night = false,
joblock = true,
jobs = {
"police",
"ambulance"
}
},
--[[["thermalcam"] = {
default = "THERMAL",
standart = false,
thermal = true,
night = false,
joblock = false,
jobs = {
}
},
["nightgoggles"] = {
default = "NIGHT",
standart = false,
thermal = false,
night = true,
joblock = false,
jobs = {
}
}]]
}
--------------------------------------------------------------------
-- KEYS | https://docs.fivem.net/docs/game-references/controls/ --
--------------------------------------------------------------------
Config.KeyLeaveUI = 194 -- Backspace | Key to leave the Binoculars
Config.KeyZoomINOne = 77 -- W | Zoom in option 1
Config.KeyZoomINTwo = 15 -- SCROLL UP | Zoom in option 2
Config.KeyZoomOUTOne = 72 -- S | Zoom in option 2
Config.KeyZoomOUTTwo = 14 -- SCROLL DPWN | Zoom out option 2
Config.KeyLeft = 174 -- ARROW LEFT | Change Viewmode (STANDART, THERMAL, NIGHT) to the left
Config.KeyRight = 175 -- ARROw RIGHT | Change Viewmode (STANDART, THERMAL, NIGHT) to the right
---------------
-- Functions --
---------------
function DisableComponents(state)
DisplayRadar(state)
-- Disable your HUD
end
function ShouldBinocularsBeLocked()
return false
end