ScarDoc

Start typing to search the SCAR reference.

Function
Prox

Prox_PlayerSquadsInProximityOfPlayerSquads

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

On this page
Prox_PlayerSquadsInProximityOfPlayerSquads(playerid1, playerid2, proximity, all)

Description

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

Parameters

  • playerid1PlayerIDrequired
  • playerid2PlayerIDrequired
  • proximityRealrequired
  • allBooleanrequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/proximity.scar