The Lab
STREAMING native

SET_FOCUS_ENTITY

returns void1 parambuild 1207

Moves the streaming focus to the given entity so the world loads around it instead of the player.

Call CLEAR_FOCUS to restore normal streaming.

Signature

C
void SET_FOCUS_ENTITY(Entity entity); // 0x955AEDD58F4BD309 b1207

Parameters

#NameType
1entityEntity

Facts

Facts about SET_FOCUS_ENTITY
Name
SET_FOCUS_ENTITY
Hash
0x955AEDD58F4BD309
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x955AEDD58F4BD309, -- SET_FOCUS_ENTITY
  PlayerPedId() -- Entity entity
)
JavaScript
Citizen.invokeNative("0x955AEDD58F4BD309", // SET_FOCUS_ENTITY
  PlayerPedId() // Entity entity
);
C#
Function.Call((Hash)0x955AEDD58F4BD309, // SET_FOCUS_ENTITY
  API.PlayerPedId() // Entity entity
);
All STREAMING natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.