TASK_GO_TO_ENTITY_WHILE_AIMING_AT_ENTITY
If true, peds will shoot at Entity till it is dead.
Hash
0x97465886D35210E9Runtime name
TaskGoToEntityWhileAimingAtEntityNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x97465886D35210E9Signature
void TASK_GO_TO_ENTITY_WHILE_AIMING_AT_ENTITY(Ped ped, Any p1, Any p2, Any p3, Any p4, Any p5, Any p6, Any p7, Any p8, Any p9, Any p10);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | Any | — |
p2 | Any | — |
p3 | Any | — |
p4 | Any | — |
p5 | Any | — |
p6 | Any | — |
p7 | Any | — |
p8 | Any | — |
p9 | Any | — |
p10 | Any | — |
Returns void
Description
shootatEntity:
If true, peds will shoot at Entity till it is dead.
If false, peds will just walk till they reach the entity and will cease shooting.
Usage
TaskGoToEntityWhileAimingAtEntity(ped, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10)
-- always works, by hash
Citizen.InvokeNative(0x97465886D35210E9, ped, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10)JavaScript and C#
TaskGoToEntityWhileAimingAtEntity(ped, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10);
// by hash
Citizen.invokeNative('0x97465886D35210E9', ped, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10);Function.Call((Hash)0x97465886D35210E9, ped, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.