_IS_GUARD_PED_INVESTIGATING
Returns true if the guard ped is currently investigating something suspicious.
Signature
BOOL _IS_GUARD_PED_INVESTIGATING(Ped ped); // 0xD743C4293F47AFAD b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | _IS_GUARD_PED_INVESTIGATING |
|---|---|
| Hash | 0xD743C4293F47AFAD |
| 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(0xD743C4293F47AFAD, -- _IS_GUARD_PED_INVESTIGATING
PlayerPedId() -- Ped ped
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xD743C4293F47AFAD", // _IS_GUARD_PED_INVESTIGATING
PlayerPedId(), // Ped ped
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xD743C4293F47AFAD, // _IS_GUARD_PED_INVESTIGATING
API.PlayerPedId() // Ped ped
);Related LAW natives
- _IS_PLAYER_SEARCHED
- _ARE_ANY_LAW_PEDS_INVESTIGATING
- _CREATE_GUARD_ZONE
- _CREATE_GUARD_ZONE_FOR_ENTITY
- _DISABLE_GUARD_ZONE
- _REMOVE_GUARD_ZONE
- _SET_GUARD_ZONE_POSITION
- _SET_GUARD_ZONE_POSITION_2
- _SET_GUARD_ZONE_VOLUME_REGISTRATION_END
- _SET_GUARD_ZONE_VOLUME_REGISTRATION_START
- _SET_GUARD_ZONE_VOLUME_RESTRICTED
- _SET_GUARD_ZONE_VOLUME_THREAT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.