#sending an array through server to client, client gets an empty table

1 messages · Page 1 of 1 (latest)

steady ravine
#

in the second screenshot, what the client printed was the argument that it got

#
EnableMapVoteGUI.OnClientEvent:Connect(function(MapsChosen)
    MapVote.Enabled = true
    print(MapsChosen)
end)```
broken lion
#

show more code such as contents of MapsChosen

finite pine
ripe panther
steady ravine
#

does that still not work?

ripe panther
#

place them into replicatedstorage

ripe panther
#

arrays cant hold entire instances

#

they hold references to instance

#

say u want somethinf behind a wall, someone else can go through that wall

#

you only see a wall u dont see the thing behind the wall

#

get it?

#

thats how client’s are

steady ravine
#

ooohhh

ripe panther
#

they cant see the serverside at all, so cant hold references to objects inside them or even the servers properties

steady ravine
#

alright alright

ripe panther
#

👍