RedM Natives

GET_IS_PED_RESPONDING_TO_POSITIVE_INTERACTION

Hash0x9337183FDA2E9035
Runtime nameGetIsPedRespondingToPositiveInteraction
NamespacePED
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL GET_IS_PED_RESPONDING_TO_POSITIVE_INTERACTION(Ped ped, Player player);

Parameters

NameTypeDescription
pedPed—
playerPlayer—

Returns BOOL

Usage

Lua
local retval = GetIsPedRespondingToPositiveInteraction(ped, player)

-- always works, by hash
local retval = Citizen.InvokeNative(0x9337183FDA2E9035, ped, player, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetIsPedRespondingToPositiveInteraction(ped, player);

// by hash
const retval = Citizen.invokeNative('0x9337183FDA2E9035', ped, player, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x9337183FDA2E9035, ped, player);

Sources

alloc8or RDR3 NativeDB

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