How to create a function input as a combobox?

I know how to “Get selected option” inside the function, but i dont know how to fill de combo and when, for example with “sound waves” (like in the function “Play Sound at location”) or just with an array of strings. TY very much