I've been trying to use
local function TestFunction(event, player, command)
local accountId = Player:GetAccountId()
end
whichs 2nd line was copied straight from the ElunaLua wiki. On execcution I received the error
calling 'GetAccountName' on bad self (bad argument : Player expected, got table)
I suspected the "Player" to be a global argument, wondering how it can be a table and how to use said table?