|
| 23 Nov 2017 11:47 AM |
How would I make an invite from a player in one server go to another player in another server? I tried using DataStore, and OnUpdate but had no success with that. How would I do this?
|
|
|
| Report Abuse |
|
|
|
| 23 Nov 2017 12:06 PM |
| can you post your sscript sso far? |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2017 12:15 PM |
local target = "player-"..friend.Text -- Player invite is sending to local getamount = #DataStoreReceives1:GetAsync(target) local here = getamount + 1 print("Amount: "..getamount) local getname = game:GetService("Players"):GetPlayerByUserId(friend.Text) local stringtosave = "Invite from: "..player.Name local valuestosave = {stringtosave} DataStoreReceives1:SetAsync(target,valuestosave) print("Sent!") print(DataStoreReceives1:GetAsync(target,valuestosave))
|
|
|
| Report Abuse |
|
|
|
| 23 Nov 2017 12:17 PM |
After one invite is sent, I don't think any other invite is sent. The amount of invites stay at 1, which is the getamount value.
|
|
|
| Report Abuse |
|
|
|
| 23 Nov 2017 12:23 PM |
bump, I need to know how to send things through servers
|
|
|
| Report Abuse |
|
|
| |
|
| |
|