Posted 02 May 2014 - 12:40 AM
I know how to get documentation in game, but I want more detail on the return of the getPlayerData() method. I know it returns a table, but I wanna know all the values in the table and such
for k,v in pairs(table) do
print(k.." : "..v)
end
i know that, but the table has tables in it, and that table has tables in it, its all really confusinng and I don't know what some of the return values are for. Health? Coords? IdkIt's silly that we have to do this, but use a pairs for loop to get the contents of the table.for k,v in pairs(table) do print(k.." : "..v) end
for k,v in pairs(table.index) do
print(k.." : "..v)
end