ScarDoc

Start typing to search the SCAR reference.

Function
Prox

Prox_PlayerSquadsInProximityOfSquads

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

On this page
Prox_PlayerSquadsInProximityOfSquads(playerid, sgroup, proximity, all, exclude, filterlist, filtertype, ignore_camouflage)

Description

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

Parameters

  • playeridPlayerIDrequired
  • sgroupSGroupIDrequired
  • proximityRealrequired
  • allBooleanrequired
  • excludeSquadIDrequired
  • filterlistSBP/Tablerequired
  • filtertypeIntegerrequired
  • ignore_camouflageBooleanrequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/proximity.scar