GET_IS_TASK_ACTIVE
Hash
0xB0760331C7AA4155Runtime name
GetIsTaskActiveNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xB0760331C7AA4155Signature
BOOL GET_IS_TASK_ACTIVE(Ped ped, int taskIndex);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
taskIndex | int | — |
Returns BOOL
Usage
local retval = GetIsTaskActive(ped, taskIndex)
-- always works, by hash
local retval = Citizen.InvokeNative(0xB0760331C7AA4155, ped, taskIndex, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetIsTaskActive(ped, taskIndex);
// by hash
const retval = Citizen.invokeNative('0xB0760331C7AA4155', ped, taskIndex, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xB0760331C7AA4155, ped, taskIndex);Enums and flags
- eTaskType 736 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.