{"name":"clearRadio","title":"clearRadio","type":"command","url":"https://community.bistudio.com/wiki/clearRadio","revid":370204,"updated":"2024-11-06T23:34:35Z","groups":["Radio and Chat"],"status":"ok","games":{"ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofpe 1.00","arma3_since":"0.50","locality":{"effect":"local"},"description":"Clean up the content of radio protocol history.","syntaxes":[{"syntax":"clearRadio","params":[],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"nullary"}],"examples":[{"text":"```sqf\nfor \"_i\" from 3 to 1 step -1 do\n{\n    systemChat format [\"The chat history will disappear in %1\", _i];\n    sleep 1;\n};\n\nclearRadio;            // removes previous messages\nenableRadio false;    // disables the chat\n```","code":["for \"_i\" from 3 to 1 step -1 do\n{\n\tsystemChat format [\"The chat history will disappear in %1\", _i];\n\tsleep 1;\n};\n\nclearRadio;\t\t\t// removes previous messages\nenableRadio false;\t// disables the chat"]}],"see_also":["enableRadio"]}