RedM Natives

TASK_FLY_AWAY

Hash0xE86A537B5A3C297C
Runtime nameTaskFlyAway
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207

Signature

void TASK_FLY_AWAY(Ped ped, Ped fleeFromTarget);

Parameters

NameTypeDescription
pedPed—
fleeFromTargetPed—

Returns void

Usage

Lua
TaskFlyAway(ped, fleeFromTarget)

-- always works, by hash
Citizen.InvokeNative(0xE86A537B5A3C297C, ped, fleeFromTarget)
JavaScript and C#
JavaScript
TaskFlyAway(ped, fleeFromTarget);

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

Sources

alloc8or RDR3 NativeDB

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