TasksClient

updateTaskHandsUpDuration

UPDATE_TASK_HANDS_UP_DURATION0xA98FCAFD7893C834

The GTA V native UPDATE_TASK_HANDS_UP_DURATION of the TASK namespace, as LS:MP client scripts call it: the global function updateTaskHandsUpDuration, in JavaScript and in Lua.

SignatureJavaScript
updateTaskHandsUpDuration(ped: Ped, duration: number): void
SignatureLua
updateTaskHandsUpDuration(ped: Ped, duration: integer)

Usage

JavaScript
updateTaskHandsUpDuration(ped, duration);
Lua
updateTaskHandsUpDuration(ped, duration)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
durationintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Tasks TASK
In the game
void UPDATE_TASK_HANDS_UP_DURATION(Ped ped, int duration)
Hash
0xA98FCAFD7893C834

Open in the interactive natives reference