Jump to content




Get Methods From An Api

api utility

  • You cannot reply to this topic
2 replies to this topic

#1 johnnic

  • Members
  • 50 posts
  • LocationSomewhere in ****** County, *******

Posted 07 August 2013 - 04:28 PM

I was wondering if there is a way to get the methods of an API. I tried:
for t,g in pairs(rs) do
 print(g)
end
Is there any way to get the exact methods in the api, instead of function: 35adfa03?
Thanks in advance

#2 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 07 August 2013 - 04:43 PM

print the key instead (print(t), instead of print(g)).

#3 johnnic

  • Members
  • 50 posts
  • LocationSomewhere in ****** County, *******

Posted 07 August 2013 - 04:45 PM

View PostMysticT, on 07 August 2013 - 04:43 PM, said:

print the key instead (print(t), instead of print(g)).
Works Perfectly! Thanks!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users