Subscribe to listenable from array

How can I do this with using an array for the player spawners, as I get error when the editable is an array.

Game_Manager := class(creative_device):
    
    @editable
    PlayerSpawner: player_spawner_device = player_spawner_device{}

    

    OnBegin<override>()<suspends>:void=
       
        PlayerSpawner.SpawnedEvent.Subscribe(OnPlayerAdded)
      

When changed it gives this error message

Unknown member SpawnedEvent in []player_spawner_device.