| Property | Value |
|---|---|
| Native Name | DISABLE_OCCLUSION_THIS_FRAME |
| Hash | 0x3669F1B198DCAA4F |
| Return Type | void |
Description: This disables all occluders that cause the 'flickering' rendering under the map and inside buildings with no interiors, note that this may impact performance on lower end systems.
Examples
-- Example thread that has to run every frame
Citizen.CreateThread(function()
while true do
DisableOcclusionThisFrame()
Citizen.Wait(0)
end
end)