Skip to content

bg_getareausers()

Warning

This page may contain outdated information, incompatible with the current version of Hercules and its coding standards.

Syntax

bg_getareausers(<BG Team ID>, "<mapname>", <x1>, <y1>, <x2>, <y2>);

Description

This command is part of the Battleground System and returns the count of players inside the selected area, which belong to the selected BG team.