{"hash":"0x8A2FBAD4","ns":"CFX","name":"SET_PLAYER_CULLING_RADIUS","slug":"SET_PLAYER_CULLING_RADIUS","official":true,"named":true,"luaName":"SetPlayerCullingRadius","game":"cfx","apiset":"server","returnType":"void","params":[{"name":"playerSrc","type":"char*","description":"The player to set the culling radius for."},{"name":"radius","type":"float","description":"The radius."}],"summary":"Sets the culling radius for the specified player.","descriptions":[{"source":"cfx","format":"md","body":"Sets the culling radius for the specified player.\nSet to `0.0` to reset.\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_PLAYER_CULLING_RADIUS","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_PLAYER_CULLING_RADIUS.md","snippets":{"lua":"SetPlayerCullingRadius(playerSrc, radius)","luaInvoke":"Citizen.InvokeNative(0x8a2fbad4, playerSrc, radius)","js":"SetPlayerCullingRadius(playerSrc, radius);","jsInvoke":"Citizen.invokeNative('0x8a2fbad4', playerSrc, radius + 0.0000001);","csharp":"Function.Call((Hash)0x8a2fbad4, playerSrc, 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."]}}