_IS_PLAYER_FREE_FOCUSING
Returns true if player is focusing (interaction lock) without a target.
Signature
BOOL _IS_PLAYER_FREE_FOCUSING(Player player); // 0x1A51BFE60708E482 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
Facts
| Name | _IS_PLAYER_FREE_FOCUSING |
|---|---|
| Hash | 0x1A51BFE60708E482 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x1A51BFE60708E482, -- _IS_PLAYER_FREE_FOCUSING
PlayerId() -- Player player
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x1A51BFE60708E482", // _IS_PLAYER_FREE_FOCUSING
PlayerId(), // Player player
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x1A51BFE60708E482, // _IS_PLAYER_FREE_FOCUSING
API.PlayerId() // Player player
);Related PLAYER natives
- _IS_PLAYER_FOLLOWING_TARGET
- _IS_PLAYER_IN_SCOPE
- _IS_PLAYER_LOCKED_ON_ENTITY_ON_HORSE
- GET_ENTITY_PLAYER_IS_FREE_AIMING_AT
- IS_PLAYER_FREE_AIMING
- IS_PLAYER_FREE_AIMING_AT_ENTITY
- _GET_PLAYER_FREE_AIM_CLOSEST_ENTITY
- _GET_PLAYER_MOUNT_IS_SPRINTING_ON_ROAD
- _GET_PLAYER_UI_PROMPT_FOR_PED_IS_ENABLED
- _GET_PLAYER_UI_PROMPT_IS_DISABLED
- GET_IS_PLAYER_UI_PROMPT_ACTIVE
- IS_PLAYER_BEING_ARRESTED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.