_GET_IS_PED_IN_DISPUTE_WITH_PED
Returns true if ped is in a dispute with pedInDisputeWith.
Signature
BOOL _GET_IS_PED_IN_DISPUTE_WITH_PED(Ped ped, Ped pedInDisputeWith); // 0x331550B212014B92 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | pedInDisputeWith | Ped |
Facts
| Name | _GET_IS_PED_IN_DISPUTE_WITH_PED |
|---|---|
| Hash | 0x331550B212014B92 |
| 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(0x331550B212014B92, -- _GET_IS_PED_IN_DISPUTE_WITH_PED
PlayerPedId(), -- Ped ped
PlayerPedId() -- Ped pedInDisputeWith
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x331550B212014B92", // _GET_IS_PED_IN_DISPUTE_WITH_PED
PlayerPedId(), // Ped ped
PlayerPedId(), // Ped pedInDisputeWith
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x331550B212014B92, // _GET_IS_PED_IN_DISPUTE_WITH_PED
API.PlayerPedId(), // Ped ped
API.PlayerPedId() // Ped pedInDisputeWith
);Related PED natives
- _GET_IS_PED_BEING_ROBBED
- _GET_IS_PED_COMMAND_HASH_PRESENT
- _GET_IS_PED_MOTIVATION_STATE_ENABLED
- GET_VEHICLE_PED_IS_IN
- _GET_FIRST_ENTITY_PED_IS_CARRYING
- _GET_NUM_COMPONENT_CATEGORIES_IN_PED
- _GET_NUM_COMPONENTS_IN_PED
- _GET_NUM_FREE_SLOTS_IN_PED_POOL
- _GET_PED_HAS_INTERACTED_WITH_PLAYER
- _GET_PED_WHO_HOGITIED_THIS_PED
- _GET_PEDS_IN_COMBAT_WITH_TARGET
- _GET_TRANSPORT_PED_IS_SEATED_ON
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.