[Solved] Keys cannot be strings in Remote Events? [closed]
I am currently getting this error keys must be strings
from
1 | for _,plr in pairs (arena.players) do |
2 | local playerTable = client.getPlayerTable(p); |
3 | locations.re.played:FireClient(plr.player, playerTable, tonumber (position), card); |
Why could this happen?
plr.player is the player userdata
playerTable is just information about the player
position is a number
card is another table about a card
client.getPlayerTable(p);
01 | function client.getPlayerTable(p) |
player is just the player object
health is a number
name is name of the player object
userid is the player's userid
board is just a string identifying the board
same with avatar
field is a table of cards in the player's field
Cannot send functions through RemoteEvents :P
Locked by BlueTaslem
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?