RedM Natives

TASK_CLEAR_DEFENSIVE_AREA

Hash0x95A6C46A31D1917D
Runtime nameTaskClearDefensiveArea
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x95A6C46A31D1917D

Signature

void TASK_CLEAR_DEFENSIVE_AREA(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns void

Usage

Lua
TaskClearDefensiveArea(ped)

-- always works, by hash
Citizen.InvokeNative(0x95A6C46A31D1917D, ped)
JavaScript and C#
JavaScript
TaskClearDefensiveArea(ped);

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

Sources

alloc8or RDR3 NativeDB

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