RedM Natives

TASK_HANDS_UP

Hash0xF2EAB31979A7F910
Runtime nameTaskHandsUp
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xF2EAB31979A7F910

Signature

void TASK_HANDS_UP(Ped ped, int duration, Ped facingPed, int timeToFacePed, int flags);

Parameters

NameTypeDescription
pedPed—
durationint—
facingPedPed—
timeToFacePedint—
flagsint—

Returns void

Description

flags: 0 = HANDS_UP_NOTHING; 1 = HANDS_UP_STRAIGHT_TO_LOOP

Usage

Lua
TaskHandsUp(ped, duration, facingPed, timeToFacePed, flags)

-- always works, by hash
Citizen.InvokeNative(0xF2EAB31979A7F910, ped, duration, facingPed, timeToFacePed, flags)
JavaScript and C#
JavaScript
TaskHandsUp(ped, duration, facingPed, timeToFacePed, flags);

// by hash
Citizen.invokeNative('0xF2EAB31979A7F910', ped, duration, facingPed, timeToFacePed, flags);
C#
Function.Call((Hash)0xF2EAB31979A7F910, ped, duration, facingPed, timeToFacePed, flags);

Sources

alloc8or RDR3 NativeDB

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