The Lab
TASK native

UPDATE_TASK_HANDS_UP_DURATION

returns void2 paramsbuild 1207

Changes the remaining duration of the hands-up task of ped to duration.

Signature

C
void UPDATE_TASK_HANDS_UP_DURATION(Ped ped, int duration); // 0xA98FCAFD7893C834 b1207

Parameters

#NameType
1pedPed
2durationint

Facts

Facts about UPDATE_TASK_HANDS_UP_DURATION
Name
UPDATE_TASK_HANDS_UP_DURATION
Hash
0xA98FCAFD7893C834
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xA98FCAFD7893C834, -- UPDATE_TASK_HANDS_UP_DURATION
  PlayerPedId(), -- Ped ped
  0 -- int duration
)
JavaScript
Citizen.invokeNative("0xA98FCAFD7893C834", // UPDATE_TASK_HANDS_UP_DURATION
  PlayerPedId(), // Ped ped
  0 // int duration
);
C#
Function.Call((Hash)0xA98FCAFD7893C834, // UPDATE_TASK_HANDS_UP_DURATION
  API.PlayerPedId(), // Ped ped
  0 // int duration
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.