17 lines
346 B
Plaintext
17 lines
346 B
Plaintext
|
/*
|
||
|
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"];
|