### Function: GetSpawnByRailID(zone, rail_id)

**Description:**
Gets a spawn in a zone by its rail_id.

**Parameters:**
- `zone` (Zone) - Zone object representing `zone`.
- `rail_id` (int64) - Integer value `rail_id`.

**Returns:** Spawn object reference.

**Example:**

Example Required
