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.
Signature
void TASK_REACT_AND_FLEE_PED(Ped ped, Ped fleeTarget);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
fleeTarget | Ped | — |
Returns void
Description
This is the server-side RPC native equivalent of the client native TASK_REACT_AND_FLEE_PED.
Usage
TaskReactAndFleePed(ped, fleeTarget)
-- always works, by hash
Citizen.InvokeNative(0x8a632bd8, ped, fleeTarget)JavaScript and C#
TaskReactAndFleePed(ped, fleeTarget);
// by hash
Citizen.invokeNative('0x8a632bd8', ped, fleeTarget);Function.Call((Hash)0x8a632bd8, ped, fleeTarget);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.