GetPlayerAreas
The areas a player is in now.
Syntax
Section titled “Syntax”GetPlayerAreas(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”table - the names, sorted
Example
Section titled “Example”SendClientMessage(pid, COLOR_WHITE, "You are in: " .. table.concat(GetPlayerAreas(pid), ", "))See also
Section titled “See also”IsPlayerInArea · GetAreasAt · the The map’s areas group of the index
