GetSpawnPoints
The spawn points of a tag.
Syntax
Section titled “Syntax”GetSpawnPoints([tag])| Parameter | Type | |
|---|---|---|
tag |
string | the list ("" without) (optional) |
Returns
Section titled “Returns”table - a list of {x=, y=, z=, yaw=}; {} when empty
Example
Section titled “Example”for i, p in ipairs(GetSpawnPoints("red")) do Log(string.format("red %d: %.1f %.1f", i, p.x, p.y))endSee also
Section titled “See also”AddSpawnPoint · GetRandomSpawnPoint · the Players group of the index
