tellGroupPedsInAreaToAttack
TELL_GROUP_PEDS_IN_AREA_TO_ATTACK0xAD27D957598E49E9The GTA V native TELL_GROUP_PEDS_IN_AREA_TO_ATTACK of the PED namespace, as LS:MP client scripts call it: the global function tellGroupPedsInAreaToAttack, in JavaScript and in Lua.
tellGroupPedsInAreaToAttack(
ped: Ped,
p1: any,
p2: number,
hash: Hash,
p4: any,
p5: any
): voidtellGroupPedsInAreaToAttack(
ped: Ped,
p1: any,
p2: number,
hash: Hash,
p4: any,
p5: any
)Usage
JavaScript
tellGroupPedsInAreaToAttack(ped, p1, p2, hash, p4, p5);Lua
tellGroupPedsInAreaToAttack(ped, p1, p2, hash, p4, p5)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | Any | any | any |
p2 | float | number | number |
hash | Hash | number | integer |
p4 | Any | any | any |
p5 | Any | any | any |
Returns
Nothing. In JavaScript the call evaluates to undefined.
On LS:MP
⚠
Signature under review
LS:MP's table describes the parameters of this native differently from the current native database (void TELL_GROUP_PEDS_IN_AREA_TO_ATTACK(Ped ped, float x, float y, float z, float radius, Hash hash)). Until the table is refreshed, some values may be passed or returned under the wrong type.
Reference
- Namespace
- Ped PED
- In the game
void TELL_GROUP_PEDS_IN_AREA_TO_ATTACK(Ped ped, Any p1, float p2, Hash hash, Any p4, Any p5)- Hash
0xAD27D957598E49E9- Introduced
- Game build 1290 legacy numbering