I'm curious as to whether or not this script will actually change the time of everyone on the server. If not, could you please help me critique it? Tell me what i'm doing wrong? I'm very new to arma2 scripting. To clarify... I'm attempting to change the time of everyone on the server to 5:00.
private["_pList", "j", "i", "_pArray", "v", "_time"];
_pList = playableUnits;
j = count _pList;
i = 0;
_pArray = [];
for "i" from 0 to j do
{
v = _pList select i;
if(player != v) then {
_time = skipTime 5;
hint "Douche, the time has been changed to 5:00."
}
};
};