Skip to main content

How to disable pollution for interiors?

info

You can simply add interior's hash to Config.Dirt.DisabledInteriors in

no-mop/config/client/cl_config.lua

Example


Config.Dirt = {
-- Disabled interior hashes
DisabledInteriors = {
4109159231,
160563028
}
}

How to get interior's hash?


You can run GetInteriorFromEntity(PlayerPedId()) on the client while inside the interior. Or you can enable debug mode by adding debug_enable "*" to no-mop/fxmanifest.lua and get the hash from the interior's id.