Hide hud element (like reticle)

Hello,

I want to hide reticle on my redm server. Any idea ?
I’ve try this function: https://vespura.com/doc/natives/#_0x4CC5F2FC1332577F
but no result.

I have already tested fivem method, no success too.

Thanks to share your experience :wink:
oldteen

Client.lua

Citizen.CreateThread(function()
    while true do
        Citizen.Wait(1)
        local Ped = PlayerId()
        local PlayerPed = PlayerPedId()
        Citizen.InvokeNative(0x4CC5F2FC1332577F, 1058184710)
        Citizen.InvokeNative(0x4CC5F2FC1332577F, -66088566)
        if IsPlayerFreeAiming(Ped) and IsPedWeaponReadyToShoot(PlayerPed) then
            --Citizen.InvokeNative(0x90DA5BA5C2635416)
            --firstperson = Citizen.InvokeNative(0x90DA5BA5C2635416)                
            if firstperson ~= true then
                weapon, weponhash = GetCurrentPedWeapon(PlayerPed, true)
                isBow = GetHashKey("WEAPON_BOW")
                if weponhash ~= isBow then                
                    Citizen.InvokeNative(0x4CC5F2FC1332577F, 0xBB47198C)
                 
                end
            end
        else
            Citizen.InvokeNative(0x1CFB749AD4317BDE)
            Citizen.InvokeNative(0x4CC5F2FC1332577F, 0xBB47198C)
        end
    end
end)

Great, thanks.

But what does this line:

Citizen.InvokeNative(0x1CFB749AD4317BDE)
1 Like