AlienX
Valued Member!
Hello all,
Been working on this one tonight, thought i would share it.
I do not have time to create a release thread or a tutorial thread - after all it is 04:40 in the morning, so i will shove this code here and let you guys and gals loose on it!
This will show a hint message when the user has been talking on side chat with voice (mic).
Highly customizable, i hope you enjoy.
Been working on this one tonight, thought i would share it.
I do not have time to create a release thread or a tutorial thread - after all it is 04:40 in the morning, so i will shove this code here and let you guys and gals loose on it!
Code:
[] spawn {
disableSerialization;
_detectedChannels = ["Side channel", "Group channel"];
while {true} do
{
_display1 = findDisplay 55;
_display2 = findDisplay 63;
if ( (!isNull _display1) AND (!isNull _display2) ) then {
_txt1 = ctrlText ((findDisplay 55) displayCtrl 101);
_txt2 = ctrlText ((findDisplay 63) displayCtrl 101);
_txtchk1 = "\ca\ui\textures\mikrak.paa";
if ( (_txt1 == _txtchk1) AND (_txt2 in _detectedChannels) ) then {
hintSilent ( "Warning: Please do not use voice!" );
};
};
sleep 2;
};
};
This will show a hint message when the user has been talking on side chat with voice (mic).
Highly customizable, i hope you enjoy.