Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: FlatBadger
Forum: Lua/XML Help 03/04/23, 10:57 AM
Replies: 5
Views: 1,862
Posted By FlatBadger
No need to loop through anything at all or make...

No need to loop through anything at all or make additional API calls if you just use the FRIENDS_LIST_MANAGER:FindDataByDisplayName(displayName) - all the info you could ever need is just there for...
Forum: Lua/XML Help 03/04/23, 02:09 AM
Replies: 5
Views: 1,862
Posted By FlatBadger
I use the FRIENDS_LIST_MANAGER for this,...

I use the FRIENDS_LIST_MANAGER for this, e.g.


local masterList = FRIENDS_LIST_MANAGER:GetMasterList()

for _, friend in ipairs(masterList) do
if (friend.online) then
-- do something
...
Showing results 1 to 2 of 2