Group move in cargo function

Description
Moves the given list of players and units inside the given vehicle, accounts for locality in MP.

Warning
I created this function because the default moveincargo command behaves oddly and not as expected in multiplayer. My team and I gathered on a server and tried several solutions suggested in different forums, on MP and on a dedicated server this was the only working function that would move ALL the desired players and non playable units at once in a given vehicle. But this function is an unelegant brute force solution and has on one occasion been known to cause a server de sync. If you have a better and tested solution please share (and I mean really tested with more than 3 players and on a dedicated server server, because some other solutions will work in the editor or for two or three players and not on a dedi). Anyway thanks to the [TGV Team], a bunch of old farts with hearts of gold and a massive amount of patience for serving as my testing guinea pigs for a lot stuff.

Function header
Function name:MRH_fnc_MoveInCargo Author: Mr H. Description: this function will move given array of units into given vehicle. This function is a workaround to the fact that moveincargo command works poorly in multiplayer (even if you get the locality right). FAIR WARNING: this function is a brutal hack, it has been known to cause server desyncs on some occasions, you should BY NO MEANS remote exec it or call it globally (from a trigger for example).YOU HAVE BEEN FAIRLY WARNED ;-) Return value: None Public: Yes Parameters: 0-  group of units 1 -  Vehicle to move units to Example(s): [allplayers,plane] call MRH_fnc_MoveInCargo;