{"hash":"0xD3A183A3","ns":"CFX","name":"SET_ENTITY_DISTANCE_CULLING_RADIUS","slug":"SET_ENTITY_DISTANCE_CULLING_RADIUS","official":true,"named":true,"luaName":"SetEntityDistanceCullingRadius","game":"cfx","apiset":"server","returnType":"void","params":[{"name":"entity","type":"Entity","description":"The entity handle to override the distance culling radius."},{"name":"radius","type":"float","description":"The new distance culling radius."}],"summary":"It overrides the default distance culling radius of an entity.","descriptions":[{"source":"cfx","format":"md","body":"It overrides the default distance culling radius of an entity. Set to `0.0` to reset.\nIf you want to interact with an entity outside of your players' scopes set the radius to a huge number.\n\n**WARNING**: Culling natives are deprecated and have known, [unfixable issues](https://forum.cfx.re/t/issue-with-culling-radius-and-server-side-entities/4900677/4)"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_ENTITY_DISTANCE_CULLING_RADIUS","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_ENTITY_DISTANCE_CULLING_RADIUS.md","snippets":{"lua":"SetEntityDistanceCullingRadius(entity, radius)","luaInvoke":"Citizen.InvokeNative(0xd3a183a3, entity, radius)","js":"SetEntityDistanceCullingRadius(entity, radius);","jsInvoke":"Citizen.invokeNative('0xd3a183a3', entity, radius + 0.0000001);","csharp":"Function.Call((Hash)0xd3a183a3, entity, radius);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}