I have a problem concerning multiplayer.
In my MOD one player is shown a popup where he can choose between option A and B, similar to UN votes.
Internally, "1" means the player has voted YES, "-1" means NO, whereas "0" means he hasn't voted yet.
Now my problem is that when the player clicks the option YES or NO, on his local machine that variable is set to 1 or -1, but this information is not sent to the other computers, so on those machines the variable will still have value 0. They will still be waiting for his vote to come in, and the game will go OOS (out of synch).
So my question is:
Is there a C++ command to force a game instance on one computer to send a certain variable value to all the other computers?
Thanks for any help!
In my MOD one player is shown a popup where he can choose between option A and B, similar to UN votes.
Internally, "1" means the player has voted YES, "-1" means NO, whereas "0" means he hasn't voted yet.
Now my problem is that when the player clicks the option YES or NO, on his local machine that variable is set to 1 or -1, but this information is not sent to the other computers, so on those machines the variable will still have value 0. They will still be waiting for his vote to come in, and the game will go OOS (out of synch).
So my question is:
Is there a C++ command to force a game instance on one computer to send a certain variable value to all the other computers?
Thanks for any help!