TegaPlays
(Tega)
#1
Hey, was making a simple system that if you invite a friend you can get a reward and this can only be done every so often to avoid spam.
Using social service obviously I connected a function to the SocialService.GameInvitePromptClosed event like this:
SocialService.GameInvitePromptClosed:Connect(function(sender, sentTo)
if #sentTo > 0 then
-- Code here
end
end)
The issue is that the array for the recipients or in this case ‘sentTo’ is always empty? Regardless of my invites.
This is in a local script, I tried in a server sided script aswell.
Just wondering if there was a reason for this? Seems like a pretty easy function to use so not sure whats going on here.
Vundeq
(maed_max)
#2
Hej
Have you tested this in game? I have a feeling that if you do it in studio it wont contact the appropriate web apis correctly.
TegaPlays
(Tega)
#3
Yeah, didnt work in game either.
Vundeq
(maed_max)
#4
Testing it in studio, i get the same issue. I have a feeling this is related to the current service issues roblox is facing
TegaPlays
(Tega)
#5
It could be, but I tested this before the current issues and it didn’t work then either.
Vundeq
(maed_max)
#6
hey, sadly this feature is disabled.