player addaction [(["STR_OPEN_CAM","FC_Settings_SpeedCam","SpeedCam_Localization"] call theprogrammer_core_fnc_localize),"[] spawn fc_speedcam_fnc_SpeedCamOpen;","",0,false,false,"",'((typeOf cursorObject) in [(getText (missionConfigFile >> "FC_Settings_SpeedCam" >> "speed_camera_3D_model")),(getText (missionConfigFile >> "FC_Settings_SpeedCam" >> "radarfixe_3D_model"))]) && ((player distance cursorObject) < 3)'];
player addaction [(["STR_REPAIR","FC_Settings_SpeedCam","SpeedCam_Localization"] call theprogrammer_core_fnc_localize),"[] spawn fc_speedcam_fnc_SpeedCamRepair;","",0,false,false,"",'((damage cursorObject > 0.5)) && ((typeOf cursorObject) in [(getText (missionConfigFile >> "FC_Settings_SpeedCam" >> "speed_camera_3D_model")),(getText (missionConfigFile >> "FC_Settings_SpeedCam" >> "radarfixe_3D_model"))]) && (playerSide isEqualTo west) && ((player distance cursorObject) < 3)'];
player addaction [(["STR_REMOVE","FC_Settings_SpeedCam","SpeedCam_Localization"] call theprogrammer_core_fnc_localize),"[] spawn fc_speedcam_fnc_SpeedCamAbort;","",0,false,false,"",'((cursorObject getVariable ["owner",""]) isEqualTo (getPlayerUID player)) && ((typeOf cursorObject) == (getText (missionConfigFile >> "FC_Settings_SpeedCam" >> "speed_camera_3D_model"))) && (playerSide isEqualTo west) && ((player distance cursorObject) < 3)'];