The Lab
TASK native

TASK_VEHICLE_AIM_AT_PED

returns void2 paramsbuild 1207

Tasks ped to aim from its vehicle at target.

Signature

C
void TASK_VEHICLE_AIM_AT_PED(Ped ped, Ped target); // 0xE41885592B08B097 b1207

Parameters

#NameType
1pedPed
2targetPed

Facts

Facts about TASK_VEHICLE_AIM_AT_PED
Name
TASK_VEHICLE_AIM_AT_PED
Hash
0xE41885592B08B097
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(0xE41885592B08B097, -- TASK_VEHICLE_AIM_AT_PED
  PlayerPedId(), -- Ped ped
  PlayerPedId() -- Ped target
)
JavaScript
Citizen.invokeNative("0xE41885592B08B097", // TASK_VEHICLE_AIM_AT_PED
  PlayerPedId(), // Ped ped
  PlayerPedId() // Ped target
);
C#
Function.Call((Hash)0xE41885592B08B097, // TASK_VEHICLE_AIM_AT_PED
  API.PlayerPedId(), // Ped ped
  API.PlayerPedId() // Ped target
);
All TASK natives

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