boriz 1 Posted January 2, 2013 (edited) Hello! I am working on my own multiplayer mission for Arma 2 and I have some troubles with game synchronization. For instance, I have this code which checks if a player is in a vehicle: if ( player in myCar ) then { hint "Player is in a vehicle!"; }; The message is shown only for the player which enters the vehicle myCar. What I want to do is to show that message to all players when any of them enters myCar. How would I do this? I was thinking about creating an array of active player names and check if any of those belong to the unit which is inside of the vehicle. I am not sure if this approach would be ideal so I am asking for help here. Edit: This script runs on all clients and server. Edited January 2, 2013 by Boriz edit Share this post Link to post Share on other sites
radeck1983 1 Posted January 2, 2013 Look at: Multiplayer_framework You may want to use: [nil,nil,rHINT,"Enjoy the game."] call RE; Share this post Link to post Share on other sites
Horner 13 Posted January 2, 2013 You'll also need a GetIn eventhandler. Share this post Link to post Share on other sites
boriz 1 Posted January 2, 2013 Thank you guys! I'll see what I can do with this. I'll let you know if I run into any troubles. Share this post Link to post Share on other sites
tryteyker 28 Posted January 2, 2013 I'd recommend CBA over RE though. Take a look at CBA's Function Index. Share this post Link to post Share on other sites