The Lab
TASK native

_GET_TASK_MOVE_NETWORK_ID

returns Hash1 parambuild 1207

Returns the id of the move network task running on ped.

Signature

C
Hash _GET_TASK_MOVE_NETWORK_ID(Ped ped); // 0xCACC2F9D994504B7 b1207

Parameters

#NameType
1pedPed

Facts

Facts about _GET_TASK_MOVE_NETWORK_ID
Name
_GET_TASK_MOVE_NETWORK_ID
Hash
0xCACC2F9D994504B7
Namespace
Returns
Hash
Game build
1207

Examples

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

Lua
local hash = Citizen.InvokeNative(0xCACC2F9D994504B7, -- _GET_TASK_MOVE_NETWORK_ID
  PlayerPedId(), -- Ped ped
  Citizen.ResultAsInteger()
)
print(hash)
JavaScript
const hash = Citizen.invokeNative("0xCACC2F9D994504B7", // _GET_TASK_MOVE_NETWORK_ID
  PlayerPedId(), // Ped ped
  Citizen.resultAsInteger()
);
console.log(hash)
C#
int hash = Function.Call<int>((Hash)0xCACC2F9D994504B7, // _GET_TASK_MOVE_NETWORK_ID
  API.PlayerPedId() // Ped ped
);
All TASK natives

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