(Official) LUA Scripting Documentation
get_gamer_count_in_region
Get the total number of enabled gamers currently positioned inside a cubic region.
Spec:
get_gamer_count_in_region(
long x1,
long y1,
long z1,
long x2,
long y2,
long z2)
Parameters
x1: The x component of the regions min world pointy1: The y component of the regions min world pointz1: The z component of the regions min world pointx2: The x component of the regions max world pointy2: The y component of the regions max world pointz2: The z component of the regions max world point
Returns
long: The number of gamers
Example
local gamer_count = get_gamer_count_in_region(200,200,200,300,300,300)
Incomplete
This documentation is incomplete