{"hash":"0xA710DC5D25F8B942","ns":"TASK","name":"_GET_SCRIPT_TASK_ACTION_TIME","slug":"_GET_SCRIPT_TASK_ACTION_TIME","official":false,"named":true,"luaName":"GetScriptTaskActionTime","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"ped","type":"Ped"},{"name":"task","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/TASK/_GET_SCRIPT_TASK_ACTION_TIME","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_GET_SCRIPT_TASK_ACTION_TIME.md","snippets":{"lua":"local retval = GetScriptTaskActionTime(ped, task)","luaInvoke":"local retval = Citizen.InvokeNative(0xA710DC5D25F8B942, ped, task, Citizen.ResultAsFloat())","js":"const retval = GetScriptTaskActionTime(ped, task);","jsInvoke":"const retval = Citizen.invokeNative('0xA710DC5D25F8B942', ped, task, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0xA710DC5D25F8B942, ped, task);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}