Config

The default configuration provided with Possible Crosshairs.

The default configuration provided with Possible Crosshairs.

Lua
return {    Debug = true,    Command = "crosshair",    -- Framework detection (auto-detects if set to 'auto')    -- Options: 'auto', 'qbx', 'qbcore', 'esx', 'standalone'    Framework = 'auto',    Theme = {        primary = {            [50] = "240, 249, 255",            [100] = "#e0f2fe",            [200] = "#bae6fd",            [300] = "#7dd3fc",            [400] = "56, 189, 248",            [500] = "14, 165, 233",            [600] = "#0284c7",            [700] = "3, 105, 161",            [800] = "#075985",            [900] = "12, 74, 110",            [950] = "8, 47, 73"        }    },    KillEffects = {        -- Enable/disable specific kill effect features        -- Set to false to hide the feature from the menu (useful for balancing)        KillMarker = true,         -- Kill marker image at center screen        KillMessage = true,        -- "KILLED [Name]" text message (can be considered OP)        KillSound = true,          -- Kill sound effect        KillScreenEffect = true,   -- Screen visual effects        KillParticleEffect = true, -- Particle effects on victim        -- Available fonts for kill messages (GTA V native fonts)        Fonts = {            { id = 0, label = "Chalet London" },            { id = 1, label = "Sign Painter" },            { id = 2, label = "Slab Serif" },            { id = 4, label = "Chalet Comprime Cologne" },            { id = 7, label = "Pricedown" }        },        -- Available colors for kill messages (GTA V native color codes)        Colors = {            { code = "~r~", label = "Red" },            { code = "~g~", label = "Green" },            { code = "~b~", label = "Blue" },            { code = "~y~", label = "Yellow" },            { code = "~p~", label = "Purple" },            { code = "~o~", label = "Orange" },            { code = "~c~", label = "Grey" },            { code = "~m~", label = "Dark Grey" },            { code = "~u~", label = "Black" },            { code = "~w~", label = "White" },            { code = "~h~", label = "Bold White" },        },        -- Screen effects (FiveM screen effect natives)        ScreenEffects = {            { id = "MP_Celeb_Win",         label = "Victory Glow" },            { id = "SuccessFranklin",      label = "Green Success" },            { id = "SuccessTrevor",        label = "Orange Success" },            { id = "SuccessMichael",       label = "Blue Success" },            { id = "HeistCelebPass",       label = "Celebration" },            { id = "MP_job_win",           label = "Job Complete" },            { id = "RaceTurbo",            label = "Turbo Boost" },            { id = "DeathFailOut",         label = "Death Fade" },            { id = "Rampage",              label = "Red Rage" },            { id = "Dont_tazeme_bro",      label = "Electric Shock" },            { id = "ChopVision",           label = "Infrared" },            { id = "MP_corona_switch",     label = "Orange Glow" },            { id = "HeistCelebToast",      label = "Champagne Blur" },            { id = "SwitchShortNeutralIn", label = "Quick Flash" },            { id = "MP_Celeb_Win_Out",     label = "Victory Fade Out" },            { id = "ExplosionJosh3",       label = "Explosion Flash" },            { id = "MP_job_load",          label = "Loading Effect" },            { id = "StuntFreefallIn",      label = "Freefall Blur" },            { id = "PPFilter",             label = "Color Filter" },            { id = "FocusIn",              label = "Focus Zoom" },            { id = "MinigameTransitionIn", label = "Game Transition" },        },        -- Particle effects (CFX particle natives)        ParticleEffects = {            { dict = "core",                       name = "ent_dst_elec_fire_sp",                label = "Electric" },            { dict = "core",                       name = "exp_grd_grenade_smoke",               label = "Smoke" },            { dict = "core",                       name = "fire_wrecked_plane_cockpit",          label = "Flame" },            { dict = "core",                       name = "exp_grd_flare",                       label = "Flare" },            { dict = "core",                       name = "proj_flare_fuse",                     label = "Sparkles" },            { dict = "scr_rcbarry1",               name = "scr_alien_teleport",                  label = "Magic Teleport" },            { dict = "scr_rcbarry1",               name = "scr_alien_disintegrate",              label = "Disintegrate" },            { dict = "scr_rcbarry1",               name = "scr_alien_impact_bul",                label = "Alien Impact" },            { dict = "scr_reconstructionaccident", name = "scr_sparking_generator",              label = "Sparks" },            { dict = "scr_indep_fireworks",        name = "scr_indep_firework_fountain",         label = "Firework Fountain" },            { dict = "scr_bike_business",          name = "scr_bike_cfid_blood_pool",            label = "Blood Pool" },            { dict = "scr_trevor1",                name = "scr_trev1_trailer_boosh",             label = "Explosion Burst" },            { dict = "proj_indep_firework_v2",     name = "scr_firework_indep_burst_rwb",        label = "Colored Burst" },            { dict = "proj_indep_firework_v2",     name = "scr_firework_indep_spiral_burst_rwb", label = "Spiral Burst" },            { dict = "scr_rcbarry2",               name = "scr_clown_appears",                   label = "Clown Bubbles" },            { dict = "core",                       name = "ent_amb_elec_crackle",                label = "Electric Crackle" },        },        -- Kill Markers - Add your image files to web/src/assets/kill-markers/        -- Then add the filename here. Supported: .png, .jpg, .jpeg, .svg, .gif        KillMarkers = {            'red-crosshair-gapped.png',            'white-crosshair-gapped.png',            -- Add more marker files here        },        -- Sounds - Add your audio files to web/src/assets/sounds/        -- Then add the filename here. Supported: .mp3, .wav, .ogg        Sounds = {            'water-drop.mp3',            'coin-drop.mp3',            'slice.wav',            'val.mp3',            'elijah.mp3',            'jj.mp3',            'kill-confirmed.mp3'            -- Add more sound files here        },    }}
JDB-NET Logo
Partner Service

Self-hosted unlimited logs with managed Grafana

JDB-NET provides a self-hosted solution with unlimited logs, a fully managed Grafana instance, and unlimited users. Perfect for FiveM servers that need comprehensive logging and monitoring.

Check out JDB-NET