//	@file Version: 1.0
//	@file Name: ADP_F_VarWatcher.sqf
//	@file Author: THumbert
//	@file Created: 12/14/2013
//	@file Description: Watches vars in the Main Page of ADP

ADPOpen = true;
while {ADPOpen} do
	{
	_MEdit = ctrlText 1400;
	_MEdit = format ["%1",_MEdit];
	_MRes = ctrlText 1405;
	_MRes = format ["%1",_MRes];
	player setVariable ["MEdit",[_MEdit, _MRes], false];
	sleep 0.5;
};