{"name":"vehicleRadio","title":"vehicleRadio","type":"command","url":"https://community.bistudio.com/wiki/vehicleRadio","revid":379399,"updated":"2026-10-31T00:01:20Z","groups":["Radio and Chat","Sounds"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","locality":{"argument":"global","effect":"local"},"description":"Sends the audio message to the vehicle radio channel. The message is defined in CfgRadio in the description.ext file or config radio protocol. The transmission will play only on the PC where command was executed. If you need the transmission to play on all computers, you have to execute it globally (see remoteExec).\n\n> [!NOTE]\n> When transmitting unit gets killed, transmission will be interrupted. However when receiving unit gets killed, the transmission continues to play.","syntaxes":[{"syntax":"unit vehicleRadio radioName","params":[{"name":"unit","type":"Object","description":"unit to transmit","type_expr":"Object"},{"name":"radioName","type":"String","description":"class name from CfgRadio","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit"},"right":{"text":"radioName"}}],"examples":[{"code":["_soldierOne vehicleRadio \"messageOne\";"]},{"code":["player vehicleRadio configName selectRandom (\"true\" configClasses (configFile >> \"CfgRadio\"));"]}],"see_also":["sideRadio","groupRadio","customRadio","vehicleChat","globalRadio","directSay","commandRadio"],"notes":[{"user":"Killzone_Kid","date":"2016-12-03T21:35:00Z","text":"To transmit user custom sounds (see Multiplayer_Custom_Sounds_Tutorial), prefix the full filename including file extension with #. For example if there is a custom user sound file called `MySound.ogg`, to play it on the radio use:\n\n```sqf\nplayer vehicleRadio \"#MySound.ogg\";\n```"}]}