ESX.DumpTable

1
ESX.DumpTable(table)

This function dumps the given table to a readable string with a tree structure.

ESX.DumpTable Exemplo

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
local myTable = { {esx = 'awesome'} }
local dumpedTable = ESX.DumpTable(myTable)

print(dumpedTable)

-- print below
{

  [1] = {

    ["esx"] = awesome,

  }

}