How can I tell if no such friend ID exist?
Options
Im using this code to add a friend by their userid
string[] friends = new string[] { friendID };
PhotonNetwork.FindFriends(friends);
How can I know in code or callback if theres no userId like that?
string[] friends = new string[] { friendID };
PhotonNetwork.FindFriends(friends);
How can I know in code or callback if theres no userId like that?
0
Comments
-
Hi @tataygames,
You can't know/tell using Photon only.
If a UserID does not exist Photon will return that the user is not connected.
You need to have a database outside of Photon to keep track of all UserIDs.0