Native referenceRedM

SET_FOCUS_ENTITY

0x955AEDD58F4BD309 STREAMING
FUNCTION SIGNATURE
void SET_FOCUS_ENTITY(`entity` (Entity));

Description: It seems to make the entity's coords mark the point from which LOD-distances are measured. In my testing, setting a vehicle as the focus entity and moving that vehicle more than 300 distance units away from the player will make the level of detail around the player go down drastically (shadows disappear, textures go extremely low res, etc). The player seems to be the default focus entity.

Property Value
Native Name SET_FOCUS_ENTITY
Hash 0x955AEDD58F4BD309
Return Type void
Build 1207
Parameters entity (Entity)

Parameters

  • entity (Entity)

Usage

Lua (Direct):

SetFocusEntity(entity)

Lua (Hash):

Citizen.InvokeNative(0x955AEDD58F4BD309, entity)

Back to STREAMING