Forum: Lua/XML Help
03/04/23, 10:57 AM
|
Replies: 5
Views: 1,862
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
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
...
|