Citizen.CreateThread(function()
while true do
Citizen.Wait(1)
if IsControlJustReleased(0, 0) then
FPSkullan = true
end
if GetFollowPedCamViewMode() == 1 or GetFollowVehicleCamViewMode() == 1 then
Citizen.Wait(1)
SetFollowPedCamViewMode(0)
SetFollowVehicleCamViewMode(0)
end
if FPSkullan then
if GetFollowPedCamViewMode() == 0 or GetFollowVehicleCamViewMode() == 0 then
Citizen.Wait(1)
SetFollowPedCamViewMode(4)
SetFollowVehicleCamViewMode(4)
else
Citizen.Wait(1)
SetFollowPedCamViewMode(0)
SetFollowVehicleCamViewMode(0)
end
FPSkullan = false
end
end
end)