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