Theme editor

Guide Enable Crosshair FiveM Crosshair Activation Guide

Admin

FiveM Pro
Joined
Oct 11, 2024
Messages
153
Reaction score
7,176
Points
93
Credits
0
Thread owner
Enable the in-game crosshair on your FiveM server running the latest qb-core. Follow our step-by-step guide with images and data to activate the crosshair for improved aiming and gameplay.

enable crosshair.webp


[qb]\qb-smallresources\client\hudcomponents.lua

find this code
Code:
CreateThread(function()
    while true do

        for i = 1, #disableHudComponents do
            HideHudComponentThisFrame(disableHudComponents[i])
        end

        for i = 1, #disableControls do
            DisableControlAction(2, disableControls[i], true)
        end

        DisplayAmmoThisFrame(displayAmmo)

        SetParkedVehicleDensityMultiplierThisFrame(Config.Density.parked)
        SetVehicleDensityMultiplierThisFrame(Config.Density.vehicle)
        SetRandomVehicleDensityMultiplierThisFrame(Config.Density.multiplier)
        SetPedDensityMultiplierThisFrame(Config.Density.peds)
        SetScenarioPedDensityMultiplierThisFrame(Config.Density.scenario, Config.Density.scenario) -- Walking NPC Density
        Wait(0)
    end
end)

Delete this part

Code:
       for i = 1, #disableHudComponents do
            HideHudComponentThisFrame(disableHudComponents[i])
        end
 
Last edited by a moderator:
Resource 'QBCore V2 FiveM RP base'
The Toxic QBCore V2 RP Server is a fully open-source, ready-to-use FiveM RP server base, built...
Resource 'Toxic QBCore Server files'
Toxic QBCore Latest Server files - Fivem rp base - Download fivem server Open source・No...
Resource 'Toxic ESX legacy  | Server Files'
Toxic ESX legacy | Server File ✔ Latest ESX Legacy Framework ✔ Fully Open-Source – No...
Resource 'V3 pvp Server File'
Download the Toxic V3 PVP Server File with the old ESX framework. Includes a fully configured...
Resource 'WC Clothing Pack'
WC Clothing Pack FiveM Download the WC Clothing Pack for FiveM – a high-quality standalone...
Resource 'Non-Branded Clothing'
FiveM Non-Branded Clothing Pack 5GB Download the 5GB Knocks Non-Branded Clothing Pack for...
Resource 'Toy Cars BMW, Bugatti & More'
Download the FiveM Toy Cars Pack featuring BMW, Bugatti, and more! Perfect for adding a fun and...
Resource 'Car Pack 15+ Vehicles'
Download the FiveM Car Pack 2025 with 15+ unique vehicles, including Audi Monster, Super Cars...
Resource 'Vehicle Pack Unbranded Cars'
Download FiveM Unbranded Cars Pack. A collection of high-quality non-branded vehicles for...
Resource 'LSPD & EMS 45 Unbranded Vehicle Pack'
🔥 What’s Inside the FiveM LSPD & EMS Vehicle Pack? Upgrade your FiveM roleplay server with this...
Resource 'Energy Fast customs Mlo ( clothes + vehicles )'
Energy Fast Customs MLO – FiveM maps for clothes shops and vehicle garages.
Back
Top Bottom