params ["_object", "_number"];

if (count _number == 0) then {
	firstNumber = "";
	secondNumber = "";

	_object setObjectTextureGlobal [1, firstNumber];
	_object setObjectTextureGlobal [2, secondNumber];
} else {
	if (count _number == 1) then {
		firstNumber = "";
		secondNumber = "braf\braf_insignia\fraticide\numbers\" + _number + "_co.paa";

		_object setObjectTextureGlobal [1, firstNumber];
		_object setObjectTextureGlobal [2, secondNumber];
	} else {
		_number = toArray _number;

		firstNumber = "braf\braf_insignia\fraticide\numbers\" + toString [_number select 0] + "_co.paa";
		secondNumber = "braf\braf_insignia\fraticide\numbers\" + toString [_number select 1] + "_co.paa";

		_object setObjectTextureGlobal [1, firstNumber];
		_object setObjectTextureGlobal [2, secondNumber];
	};
};