updateTaskHandsUpDuration
UPDATE_TASK_HANDS_UP_DURATION0xA98FCAFD7893C834The 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.
updateTaskHandsUpDuration(ped: Ped, duration: number): voidupdateTaskHandsUpDuration(ped: Ped, duration: integer)Usage
JavaScript
updateTaskHandsUpDuration(ped, duration);Lua
updateTaskHandsUpDuration(ped, duration)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
duration | int | number | integer |
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