RedM Natives

IS_PED_RESPONDING_TO_THREAT

Hash0x77525BBF433F2CD6
Runtime nameIsPedRespondingToThreat
NamespacePED
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL IS_PED_RESPONDING_TO_THREAT(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Usage

Lua
local retval = IsPedRespondingToThreat(ped)

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

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

Sources

alloc8or RDR3 NativeDB

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