local playerPed = PlayerPedId()
local interiorId = GetInteriorFromEntity(playerPed)
local roomHash = GetRoomKeyFromEntity(playerPed)
local roomId = GetInteriorRoomIndexByHash(interiorId, roomHash)
if roomId ~= -1 then
local timecycleHash = GetHashKey("scanline_cam")
SetInteriorRoomTimecycle(interiorId, roomId, timecycleHash)
RefreshInterior(interiorId)
end