I want to make it so that when server restart. It will force all the client who online to rejoin the server.
and i see it in the wiki that when you use redirectPlayer with only the player parameter. You can force them to rejoin.
for i,player in ipairs(getElementsByType('player')) do redirectPlayer(player) end
but i tried that out and got the argument error with redirectPlayer function.
Is there a way to force client to rejoin? Am I doing it work? or the only way to do this is to put the Server IP parameter?(If that's the case. I will just kick all the damn player out)
Thanks.