SET_FOCUS_ENTITY
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
void SET_FOCUS_ENTITY(Entity entity); // 0x955AEDD58F4BD309 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
Facts
| 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.
Citizen.InvokeNative(0x955AEDD58F4BD309, -- SET_FOCUS_ENTITY
PlayerPedId() -- Entity entity
)Citizen.invokeNative("0x955AEDD58F4BD309", // SET_FOCUS_ENTITY
PlayerPedId() // Entity entity
);Function.Call((Hash)0x955AEDD58F4BD309, // SET_FOCUS_ENTITY
API.PlayerPedId() // Entity entity
);Related STREAMING natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.