GetPlayerRegion
The level a player of that name is on.
Up to about a second behind for a player on another level.
Syntax
Section titled “Syntax”GetPlayerRegion(name)| Parameter | Type | |
|---|---|---|
name |
string | the player’s name |
Returns
Section titled “Returns”string - the level, or nil when nobody has the name
Example
Section titled “Example”SendClientMessage(pid, 0xFFFFFFFF, args .. " is in " .. tostring(GetPlayerRegion(args)))See also
Section titled “See also”GetClusterPlayers · SendClientMessageToName · the Regions group of the index
