RedM Natives

TASK_REACT_AND_FLEE_PED

TASK_REACT_AND_FLEE_PED This is the server-side RPC native equivalent of the client native TASK_REACT_AND_FLEE_PED.

Hash0x8A632BD8
Runtime nameTaskReactAndFleePed
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

void TASK_REACT_AND_FLEE_PED(Ped ped, Ped fleeTarget);

Parameters

NameTypeDescription
pedPed—
fleeTargetPed—

Returns void

Description

Cfx.re native reference

TASK_REACT_AND_FLEE_PED

This is the server-side RPC native equivalent of the client native TASK_REACT_AND_FLEE_PED.

Usage

Lua
TaskReactAndFleePed(ped, fleeTarget)

-- always works, by hash
Citizen.InvokeNative(0x8a632bd8, ped, fleeTarget)
JavaScript and C#
JavaScript
TaskReactAndFleePed(ped, fleeTarget);

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

Sources

Cfx.re native reference

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