ScarDoc

Start typing to search the SCAR reference.

Function
Prox

Prox_PlayerEntitiesInProximityOfEntities

Checks if ALL or ANY players squads are in proximity of a given entity group.

On this page
Prox_PlayerEntitiesInProximityOfEntities(playerid, egroup, proximity, all, exclude)

Description

Set \"all\" to true to check that ALL entities are in proximity, or set \"all\" to false to check for ANY.

Parameters

  • playeridPlayerIDrequired
  • egroupEGroupIDrequired
  • proximityRealrequired
  • allBooleanrequired
  • excludeEntityIDrequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/proximity.scar