_GET_PLAYER_WAYPOINT_IS_ACTIVE
Returns true if the player has an active map waypoint.
Signature
BOOL _GET_PLAYER_WAYPOINT_IS_ACTIVE(Player player); // 0xDCC4B7F7112E8AB7 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
Facts
| Name | _GET_PLAYER_WAYPOINT_IS_ACTIVE |
|---|---|
| Hash | 0xDCC4B7F7112E8AB7 |
| 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(0xDCC4B7F7112E8AB7, -- _GET_PLAYER_WAYPOINT_IS_ACTIVE
PlayerId() -- Player player
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xDCC4B7F7112E8AB7", // _GET_PLAYER_WAYPOINT_IS_ACTIVE
PlayerId(), // Player player
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xDCC4B7F7112E8AB7, // _GET_PLAYER_WAYPOINT_IS_ACTIVE
API.PlayerId() // Player player
);Related NETWORK natives
- NETWORK_IS_PLAYER_ACTIVE
- _NETWORK_GET_PLAYER_FAST_INSTANCE_ID
- _NETWORK_GET_PLAYER_OWNER_OF_NETWORK_ID
- _NETWORK_GET_SIZE_OF_PLAYER_BROADCAST_DATA_STORAGE
- _NETWORK_IS_PLAYER_IN_SPECTATOR_MODE
- _NETWORK_IS_THREAD_ACTIVE
- _NETWORK_IS_TRACKED_PLAYER_VISIBLE
- _SET_LOCAL_PLAYER_DAMAGE_MULTIPLIER_FOR_PLAYER
- _SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED
- GET_UNIQUE_INT_FOR_PLAYER
- IS_DAMAGE_TRACKER_ACTIVE_ON_NETWORK_ID
- IS_SPHERE_VISIBLE_TO_PLAYER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.