ScarDoc

Start typing to search the SCAR reference.

Function
Player

Player_GetAllEntitiesNearMarker

Gather together all of a player's entities that are in proximity to a marker, a position, or within a territory sector into an EGroup. The EGroup is cleared beforehand.

On this page
Player_GetAllEntitiesNearMarker(playerid, egroup, position, range)

Description

You can override a marker's normal proximity by specifying a range.

Parameters

  • playeridPlayerIDrequired
  • egroupEGroupIDrequired
  • positionMarkerID/Pos/SectorIDrequired
  • rangeRealoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/player.scar