RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_ENTITY_DISTANCE_CULLING_RADIUS

SET_ENTITY_DISTANCE_CULLING_RADIUS

It overrides the default distance culling radius of an entity. Set to `0.0` to reset. If you want to interact with an entity outside of your players' scopes set the radius to a huge number. **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)

CFX

Signature

lua
SetEntityDistanceCullingRadius(entity, 0.0)
-- returns void

Parameters

NameTypeDescription
EntityThe entity handle to override the distance culling radius.
floatThe new distance culling radius.

Usage

lua
SetEntityDistanceCullingRadius(entity, 0.0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details