The Lab
TASK native

GET_TASK_MOVE_NETWORK_EVENT

returns BOOL2 paramsbuild 1207

Returns true if the move network on ped fired the event eventName.

Signature

C
BOOL GET_TASK_MOVE_NETWORK_EVENT(Ped ped, const char* eventName); // 0xB4F47213DF45A64C b1207

Parameters

#NameType
1pedPed
2eventNameconst char*

Facts

Facts about GET_TASK_MOVE_NETWORK_EVENT
Name
GET_TASK_MOVE_NETWORK_EVENT
Hash
0xB4F47213DF45A64C
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xB4F47213DF45A64C, -- GET_TASK_MOVE_NETWORK_EVENT
  PlayerPedId(), -- Ped ped
  "text" -- const char* eventName
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xB4F47213DF45A64C", // GET_TASK_MOVE_NETWORK_EVENT
  PlayerPedId(), // Ped ped
  "text", // const char* eventName
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xB4F47213DF45A64C, // GET_TASK_MOVE_NETWORK_EVENT
  API.PlayerPedId(), // Ped ped
  "text" // const char* eventName
);
All TASK natives

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