execVM "count.sqf";
#define countwest;
#define counteast;
#define countingwestv;
#define countingeastv;
_countwest = 8;
_counteast = 8;
if (side player == blufor)
then {
_countwestm = createMarkerLocal ["%1" _countwest, getMarkerPos "countmp"];
_counteastm SetMarkerTypeLocal "Point";
};
if (side player == opfor)
then {
_counteastm = createMarkerLocal ["%1" _counteast, getMarkerPos "countmp"];
_counteastm SetMarkerTypeLocal "Point";
};
_countingwestv = 0;
_countingeastv = 0;
public ("_countwest", "_counteast", "_countingwestv", "_countingeastv");
while (isserver)
do [
sleep (60);
_countwest= _countwest + _countingwestv;
_counteast= _counteast + _countingeastv;
_countwestm setMarkerTextLocal "%1" _countwest;
_counteastm setMarkerTextLocal "%1" _counteast;
];
mission.sqm
class Item212
{
position[]={0.84528255,0,30699.197};
name="countmp";
type="Empty";
};
Заранее спасибо за помощь.












