can I add a some variable in array?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By AndrewD

I need to check the number of players. So I’m gonna make an array and add var of players in it then check size of array. But I don’t know how add var in array.
How can I do it?
Or is there another way to check the number of players?

:bust_in_silhouette: Reply From: klaas

Hi,
Array.append(variable)

And of cause there are a lot of other ways

1 Like