Welcome to FiveM Scripts, MLOs & Server Files – Toxic FiveM

Toxic QB V3.2 Server Files

Premium members can download it for free.

Toxic PVP V4 Server Files

Premium members can download it for free.

400+ Unbranded Vehicles 2025

Premium members can download it for free.

FiveMCode qb-core Latest - Enable Crosshair (FiveM Crosshair Activation Guide)

Framework
  1. QBCORE
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:
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top