_GET_PLAYER_MOUNT_IS_SPRINTING_ON_ROAD
Based on its name and signature, here is our best reading:
Returns true if the mount of player is sprinting on a road.
Signature
BOOL _GET_PLAYER_MOUNT_IS_SPRINTING_ON_ROAD(Player player); // 0xE631EAF35828FA67 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
Facts
| Name | _GET_PLAYER_MOUNT_IS_SPRINTING_ON_ROAD |
|---|---|
| Hash | 0xE631EAF35828FA67 |
| 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(0xE631EAF35828FA67, -- _GET_PLAYER_MOUNT_IS_SPRINTING_ON_ROAD
PlayerId() -- Player player
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xE631EAF35828FA67", // _GET_PLAYER_MOUNT_IS_SPRINTING_ON_ROAD
PlayerId(), // Player player
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xE631EAF35828FA67, // _GET_PLAYER_MOUNT_IS_SPRINTING_ON_ROAD
API.PlayerId() // Player player
);Related PLAYER natives
- _GET_PLAYER_OWNER_OF_MOUNT
- _GET_PLAYER_UI_PROMPT_FOR_PED_IS_ENABLED
- _GET_PLAYER_UI_PROMPT_IS_DISABLED
- _IS_PLAYER_LOCKED_ON_ENTITY_ON_HORSE
- _GET_PLAYER_MOOD
- _GET_PLAYER_MAX_DEAD_EYE
- _GET_PLAYER_CACHED_DEAD_EYE_AMOUNT
- _GET_PLAYER_DEAD_EYE
- _GET_PLAYER_DEAD_EYE_METER_LEVEL
- _GET_PLAYER_FREE_AIM_CLOSEST_ENTITY
- _GET_PLAYER_HEALTH
- _GET_PLAYER_HEALTH_RECHARGE_MULTIPLIER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.