RDR3 matchUnofficial name
TASK::_GET_SCRIPT_TASK_ACTION_TIME
0xDA0746BD58EF23A2 ·RVA 0x044CC150
Signature
float _GET_SCRIPT_TASK_ACTION_TIME(Ped ped, Hash task);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Hash | task |
– |
Returns
float
Call it
// TASK::_GET_SCRIPT_TASK_ACTION_TIME
auto result = invoke<float>(0xDA0746BD58EF23A2, ped, task);// TASK::_GET_SCRIPT_TASK_ACTION_TIME
float result = Function.Call<float>((Hash)0xDA0746BD58EF23A2, ped, task);-- TASK::_GET_SCRIPT_TASK_ACTION_TIME
local result = Citizen.InvokeNative(0xDA0746BD58EF23A2, ped, task)// TASK::_GET_SCRIPT_TASK_ACTION_TIME
const result = Citizen.invokeNative("0xDA0746BD58EF23A2", ped, task);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.