TaskGoToEntityWhileAimingAtEntity — FiveM Natives
0x97465886D35210E9 · TASK · all
`` 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. ``
Parameters
| Name | Type |
|---|---|
| ped | Ped |
| entityToWalkTo | Entity |
| entityToAimAt | Entity |
| speed | float |
| shootatEntity | BOOL |
| p5 | float |
| p6 | float |
| p7 | BOOL |
| p8 | BOOL |
| firingPattern | Hash |
Returns
void