InvalidateIdleCam
DocsInvalidateIdleCam()Description
Resets the idle camera timer. Calling that in a loop once every few seconds is enough to disable the idle cinematic camera.
Returns
voidThis native does not return a value.
Examples
Official
Citizen.CreateThread(function()
while true do
InvalidateIdleCam()
InvalidateVehicleIdleCam()
Wait(1000) --The idle camera activates after 30 second so we don't need to call this per frame
end
end)