Original Post
Hey everyone, I am seeding my random numbers with the current time, like so: srand(time(null)); In my multiplayer game, certain actions require a "roll of a dice", but I don't want to have to send the results of the "dice rolling"-function from client to client, I just want both clients to execute the code and get the same answer, which brings me to my question: If both the clients have had their random numbers seeded to the same time, and I execute a function on both clients, will the resulting random number be the same, or do I have to do something else to get them syncronized?