TASK_LOOK_AT_ENTITY
Hash
0x69F4BE8C8CC4796CRuntime name
TaskLookAtEntityNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x69F4BE8C8CC4796CSignature
void TASK_LOOK_AT_ENTITY(Ped ped, Entity lookAtTarget, int duration, int p3, int p4, int p5);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
lookAtTarget | Entity | — |
duration | int | — |
p3 | int | — |
p4 | int | — |
p5 | int | — |
Returns void
Description
param3: duration in ms, use -1 to look forever
param4: using 2048 is fine
param5: using 3 is fine
Usage
TaskLookAtEntity(ped, lookAtTarget, duration, p3, p4, p5)
-- always works, by hash
Citizen.InvokeNative(0x69F4BE8C8CC4796C, ped, lookAtTarget, duration, p3, p4, p5)JavaScript and C#
TaskLookAtEntity(ped, lookAtTarget, duration, p3, p4, p5);
// by hash
Citizen.invokeNative('0x69F4BE8C8CC4796C', ped, lookAtTarget, duration, p3, p4, p5);Function.Call((Hash)0x69F4BE8C8CC4796C, ped, lookAtTarget, duration, p3, p4, p5);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.