TasksClient

updateTaskSweepAimEntity

UPDATE_TASK_SWEEP_AIM_ENTITY0xE4973DBDBE6E44B3

The GTA V native UPDATE_TASK_SWEEP_AIM_ENTITY of the TASK namespace, as LS:MP client scripts call it: the global function updateTaskSweepAimEntity, in JavaScript and in Lua.

SignatureJavaScript
updateTaskSweepAimEntity(ped: Ped, entity: Entity): void
SignatureLua
updateTaskSweepAimEntity(ped: Ped, entity: Entity)

Usage

JavaScript
updateTaskSweepAimEntity(ped, entity);
Lua
updateTaskSweepAimEntity(ped, entity)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
entityEntitynumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Tasks TASK
In the game
void UPDATE_TASK_SWEEP_AIM_ENTITY(Ped ped, Entity entity)
Hash
0xE4973DBDBE6E44B3

Open in the interactive natives reference