IS_PED_DEFENSIVE_AREA_ACTIVE
Hash
0xBA63D9FE45412247Runtime name
IsPedDefensiveAreaActiveNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xBA63D9FE45412247Signature
BOOL IS_PED_DEFENSIVE_AREA_ACTIVE(Ped ped, BOOL p1);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | BOOL | — |
Returns BOOL
Usage
local retval = IsPedDefensiveAreaActive(ped, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0xBA63D9FE45412247, ped, p1, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedDefensiveAreaActive(ped, p1);
// by hash
const retval = Citizen.invokeNative('0xBA63D9FE45412247', ped, p1, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xBA63D9FE45412247, ped, p1);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.