RedM Natives

GET_PED_DEFENSIVE_AREA_POSITION

Hash0x3C06B8786DD94CD1
Runtime nameGetPedDefensiveAreaPosition
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x3C06B8786DD94CD1

Signature

Vector3 GET_PED_DEFENSIVE_AREA_POSITION(Ped ped, BOOL p1);

Parameters

NameTypeDescription
pedPed—
p1BOOL—

Returns Vector3

Usage

Lua
local retval = GetPedDefensiveAreaPosition(ped, p1)

-- always works, by hash
local retval = Citizen.InvokeNative(0x3C06B8786DD94CD1, ped, p1, Citizen.ResultAsVector())
JavaScript and C#
JavaScript
const retval = GetPedDefensiveAreaPosition(ped, p1);

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

Sources

alloc8or RDR3 NativeDB

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