GET_PED_DEFENSIVE_AREA_POSITION
Hash
0x3C06B8786DD94CD1Runtime name
GetPedDefensiveAreaPositionNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x3C06B8786DD94CD1Signature
Vector3 GET_PED_DEFENSIVE_AREA_POSITION(Ped ped, BOOL p1);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | BOOL | — |
Returns Vector3
Usage
local retval = GetPedDefensiveAreaPosition(ped, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0x3C06B8786DD94CD1, ped, p1, Citizen.ResultAsVector())JavaScript and C#
const retval = GetPedDefensiveAreaPosition(ped, p1);
// by hash
const retval = Citizen.invokeNative('0x3C06B8786DD94CD1', ped, p1, Citizen.returnResultAnyway(), Citizen.resultAsVector());Vector3 retval = Function.Call<Vector3>((Hash)0x3C06B8786DD94CD1, ped, p1);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.