DLib/functions/Radio/fn_removeCarRadio.sqf

17 lines
346 B
Plaintext
Raw Permalink Normal View History

2020-01-15 18:18:38 +00:00
/*
Author: Djeeberjr
Description:
Removes the car radio
Parameter(s):
0: OBJECT - the vehicle
*/
params ["_veh"];
_actions = _veh getVariable "DLib_radio_actions";
deleteVehicle (_veh getVariable ["DLib_radio_source",objNull]);
[_veh,_actions select 0] remoteExec ["removeAction"];
[_veh,_actions select 1] remoteExec ["removeAction"];