I am doing client-Server communications, for some reason the arguments are reversed, any reason why?
Server -
Remotes.CreateSquad.OnServerInvoke = function(SquadName, SquadRestricted, SquadHost)
print("Name: " .. tostring(SquadName))
print("Private: " .. tostring(SquadRestricted))
print("Host: " .. tostring(SquadHost))
end)
Client -
game.ReplicatedStorage.Remotes.CreateSquad:InvokeServer("lol", false, "Player Name")
Output:
"Name: Player Name"
"Private: false"
"Player: lol"
Is this a bug? Any idea why this is occurring?