_ARE_WITNESSES_PENDING
Returns true if witnesses to a crime by player are still on their way to report it.
Signature
BOOL _ARE_WITNESSES_PENDING(Player player); // 0x0BB6DE7D23C60626 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
Facts
| Name | _ARE_WITNESSES_PENDING |
|---|---|
| Hash | 0x0BB6DE7D23C60626 |
| 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(0x0BB6DE7D23C60626, -- _ARE_WITNESSES_PENDING
PlayerId() -- Player player
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x0BB6DE7D23C60626", // _ARE_WITNESSES_PENDING
PlayerId(), // Player player
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x0BB6DE7D23C60626, // _ARE_WITNESSES_PENDING
API.PlayerId() // Player player
);Related LAW natives
- ARE_WITNESSES_ACTIVE
- _ARE_ANY_LAW_PEDS_INVESTIGATING
- _ARE_INVESTIGATORS_ACTIVE
- _ARE_LAW_PEDS_ENABLED_FOR_TRAIN
- _ADD_WITNESS_RESPONSE
- _CREATE_GUARD_ZONE
- _CREATE_GUARD_ZONE_FOR_ENTITY
- _CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS
- _DISABLE_GUARD_ZONE
- _ENABLE_DISPATCH_LAW
- _ENABLE_DISPATCH_LAW_2
- _FORCE_LAW_ON_LOCAL_PLAYER_IMMEDIATELY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.