The Lab
TASK native

_TASK_POINT_AT_ENTITY

returns void3 paramsbuild 1207

Tasks ped to point at targetEntity for durationMs milliseconds.

Signature

C
void _TASK_POINT_AT_ENTITY(Ped ped, Entity targetEntity, int durationMs); // 0xF40A109B4B79A848 b1207

Parameters

#NameType
1pedPed
2targetEntityEntity
3durationMsint

Facts

Facts about _TASK_POINT_AT_ENTITY
Name
_TASK_POINT_AT_ENTITY
Hash
0xF40A109B4B79A848
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0xF40A109B4B79A848, -- _TASK_POINT_AT_ENTITY
  PlayerPedId(), -- Ped ped
  PlayerPedId(), -- Entity targetEntity
  0 -- int durationMs
)
JavaScript
Citizen.invokeNative("0xF40A109B4B79A848", // _TASK_POINT_AT_ENTITY
  PlayerPedId(), // Ped ped
  PlayerPedId(), // Entity targetEntity
  0 // int durationMs
);
C#
Function.Call((Hash)0xF40A109B4B79A848, // _TASK_POINT_AT_ENTITY
  API.PlayerPedId(), // Ped ped
  API.PlayerPedId(), // Entity targetEntity
  0 // int durationMs
);
All TASK natives

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