RedM Natives

REMOVE_PED_DEFENSIVE_AREA

Ped will no longer get angry when you stay near him.

Hash0x74D4E028107450A9
Runtime nameRemovePedDefensiveArea
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x74D4E028107450A9

Signature

void REMOVE_PED_DEFENSIVE_AREA(Ped ped, BOOL toggle);

Parameters

NameTypeDescription
pedPed—
toggleBOOL—

Returns void

Description

Ped will no longer get angry when you stay near him.

Usage

Lua
RemovePedDefensiveArea(ped, toggle)

-- always works, by hash
Citizen.InvokeNative(0x74D4E028107450A9, ped, toggle)
JavaScript and C#
JavaScript
RemovePedDefensiveArea(ped, toggle);

// by hash
Citizen.invokeNative('0x74D4E028107450A9', ped, toggle);
C#
Function.Call((Hash)0x74D4E028107450A9, ped, toggle);

Sources

alloc8or RDR3 NativeDB

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