Thread Tools Display Modes
Prev Previous Post   Next Post Next
03/04/23, 12:25 PM   #4
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,589
Originally Posted by sinnereso View Post
oh cool ty.. but my issue is retriving that data...i can getinfo(somebody) but the specific info like which friend and online status etc from it is confusing me.

Oh i think i get it... and for the info i dont want put _?

*EDIT*

OK got it ty.. its just for a single saved player and your corrections there worked perfectly ty so much!
You could use any variable name, but in Lua the general consent is to name the variables you don't plan to use "_", to make the code more readable.

And as others have mentioned, you do not actually need to loop over the friend data yourself, since ZOS already has a method that does it for you.
You can check the code on github.
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » GetFriendInfo help


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off