PedClient

tellGroupPedsInAreaToAttack

TELL_GROUP_PEDS_IN_AREA_TO_ATTACK0xAD27D957598E49E9

The 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.

SignatureJavaScript
tellGroupPedsInAreaToAttack(
  ped: Ped,
  p1: any,
  p2: number,
  hash: Hash,
  p4: any,
  p5: any
): void
SignatureLua
tellGroupPedsInAreaToAttack(
  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

ParameterTypeJavaScriptLua
pedPednumberinteger
p1Anyanyany
p2floatnumbernumber
hashHashnumberinteger
p4Anyanyany
p5Anyanyany

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

Open in the interactive natives reference