Currently, Player:GetFriendsOnline can only be invoked by the client. Attempting to invoke the function from the server will result in an error:
The GetFriendsOnline page should clearly communicate that it is client-sided only.
Currently, Player:GetFriendsOnline can only be invoked by the client. Attempting to invoke the function from the server will result in an error:
The GetFriendsOnline page should clearly communicate that it is client-sided only.
notreplicated
is not appropriate for a function - it clearly replicates with its containing instance, it just doesn’t work. This page should instead communicate clearly that it only works client-side.
Excuse the necro posting, but I find that it is unreasonable that this has not been communicated properly on the website, as i found out the hard way that GetFriendsOnline will only work on the client.
Another important information that needs clarifying is that the GameId property for the function will just return the GameId, and not the JobId that it says on the page.