How to get actor / components from class

Hi helpful guys,

I want to spawn a specific class (weapons) according to selection of integer. I have tried to select ( class), and get from array (class).

Im unable to get actor components/ variables of return nod of spawn actor when I connect.

if i select a class directly it is ok and works fine.

thanks in advance