RedM Natives

_GET_IS_PED_IN_DISPUTE_WITH_PED

Returns true if ped is in a dispute another ped (pedInDisputeWith can also be 0)

Hash0x331550B212014B92
Runtime nameGetIsPedInDisputeWithPed
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _GET_IS_PED_IN_DISPUTE_WITH_PED(Ped ped, Ped pedInDisputeWith);

Parameters

NameTypeDescription
pedPed—
pedInDisputeWithPed—

Returns BOOL

Description

Returns true if ped is in a dispute another ped (pedInDisputeWith can also be 0)

Usage

Lua
local retval = GetIsPedInDisputeWithPed(ped, pedInDisputeWith)

-- always works, by hash
local retval = Citizen.InvokeNative(0x331550B212014B92, ped, pedInDisputeWith, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetIsPedInDisputeWithPed(ped, pedInDisputeWith);

// by hash
const retval = Citizen.invokeNative('0x331550B212014B92', ped, pedInDisputeWith, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x331550B212014B92, ped, pedInDisputeWith);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.