[FREE] [STANDALONE] No Idle Cam

DisableIdleCamera() hasn’t worked for a while for me. This, however, does:

CreateThread(function()
    while true do
        InvalidateIdleCam()
        InvalidateVehicleIdleCam()
        Wait(10000)
    end
end)

EDIT: Had to run grep -r 'DisableIdleCamera' . and found a script that was causing the problem.

1 Like

Can put this code in qb-core/client/main.lua ?

Does work, has worked, hence haven’t updated it. If you want to put it in your crappy framework coding, be my guest, though you mentioned RPEmotes so I probably wouldn’t put it in qbcore as it might conflict.

You have to do /idlecamoff, it’s not automatic

You guys can make on playerload ExecuteCommand(‘command’) this can be done on es_extended / qb-core

What would be the opposite?

This worked but I must have done it wrong. Now it completely removes idle cam. Could you share your code? Is it possible to implement the code you sent while still keeping it toggelable? Thanks!

What happened to the download?

The user has pulled all their publicly available resources.

Thank you for your previous contributions to the FiveM community.