Skip to content

GetZonePlayers

The players inside a zone right now.

GetZonePlayers(id)
Parameter Type
id number the zone

table - a list of pids

for _, pid in ipairs(GetZonePlayers(arena)) do GameText(pid, "Fight!", 1500) end

IsPlayerInZone · GetPlayerZones · the Zones group of the index