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
playeridPlayerIDrequiredsgroupSGroupIDrequiredproximityRealrequiredallBooleanrequiredexcludeSquadIDrequiredfilterlistSBP/TablerequiredfiltertypeIntegerrequiredignore_camouflageBooleanrequired
Returns
BooleanSource
Declared in the game's script sources at:
scar/proximity.scar