What do you want to achieve? Keep it simple and clear!
Basically I’ve been using FireAllClients to pass information from server to client,(well not rlly information since you don’t need to). However is there any way to FireAllClients something about a specific player?
What is the issue? Include screenshots / videos if possible!
I don’t know how to show a specific player to all clients.
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Couldn’t find any solutions about this.
Basically, I’m using a remote event to FireAllClients. On the client, I get the userID of a specific player, in this case the winner and show their profile. The problem is that FireAllClients doesn’t require a specific argument to pass through, which means I have no way of showing the profile of the winner. Is there any way to show something to all clients about a player?
I am using an ignore player list, but that doesn’t help. Technically it could somehow.
That’s kinda what I’m doing right now. However, do you just pass through your argument in this case, plrs[1], which fires to all clients? Does that argument only show the player who actually matches that. So if you’re the winner it actually shows your profile to everyone?
no the player with the index for example first index is the first player if you fire it with the index then only the player in the array position with that index will only receive the changes
I’m not sure I understand. This what I’m doing so far, however I think it ignores the player rather.
for _v in pairs(game:GetService("Players"):GetPlayers()) do
if _v in pairs ~= plrs[1] then
game.ReplicatedStorage.Winner:FireAllClients(_v, plrs[1])
end
end