All pastes #570781 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-06-16 21:33 UTC
rendered paste body
	// Body Remover Loop
	if(SIX_isServer)then
	{
		private["_bodyR"];
		_bodyR=(configFile >> "SIX_Settings" >> "SIX_Misc" >> "bodyR");
		if(isNumber _bodyR)then
		{
			if(getNumber _bodyR==1)then
			{
				SIX_BodyR_Settings=[1,getNumber (configFile >> "SIX_Settings" >> "SIX_Misc" >> "SIX_BodyR" >> "refresh"),getNumber (configFile >> "SIX_Settings" >> "SIX_Misc" >> "SIX_BodyR" >> "limit")];
				[] execVM (SIX_Misc_PS+"BodyRemover.sqf");
			};
		};
	};

	// Time Check Loop
	[] spawn
	{
		private["_t"];
		while{true}do
		{
			_t=daytime;
			if(_t>6&&_t<17)then{SIX_NIGHT=false;}else{SIX_NIGHT=true};
			sleep 60;
		};
	};

	// 6thSenseMod Compatibility
	private ["_baseInit"];
	_baseInit=getText (configFile >> "SIX_Base_EventHandlers" >> "Init");
	if(_baseInit != "")then{call compile _baseInit};

	// SIX_Tracers
	private ["_tracerInit"];
	_tracerInit=getText (configFile >> "SIX_Tracer_EventHandlers" >> "Init");
	if(_tracerInit != "")then{call compile _tracerInit};

	// SIX_CRDS
	private ["_crdsInit"];
	_crdsInit=getText (configFile >> "SIX_CRDS_EventHandlers" >> "Init");
	if(_crdsInit != "")then{call compile _crdsInit};