Function: GetPlayersInZone(Zone)
Description: Returns the player spawns captured from the specified zone.
Parameters:
Zone(Zone) — The zone to inspect, such as the value returned byGetZone(NPC).
Returns: A Lua table containing a consecutive, 1-based array of player spawns. Returns no value (nil) if the zone is invalid or no players are captured. The table can be empty if all captured players leave or change sessions while the result is being prepared.
Behavior: Each result refers to the original player captured for that call. A player whose zone, connection or session changes during result preparation is omitted; the function does not substitute a replacement player. The result is a snapshot, so later joins are available on a later call. Player references can become stale after the call as players leave.