{"name":"BIS_fnc_carAlarm","operator":null,"title":"BIS fnc carAlarm","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_carAlarm","revid":327206,"updated":"2022-07-12T22:11:45Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.76"}],"since":{"game":"arma3","name":"Arma 3","version":"1.76"},"arma3_since":"1.76","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Play car alarm effect.","syntaxes":[{"syntax":"[mode, car] call BIS_fnc_carAlarm","since":null,"effect":null,"exec":null,"params":[{"name":"mode","type":"String","optional":false,"default":null,"description":"can be one of:\n- \"init\": add \"Hit\" and \"GetIn\" event handler on the car\n- \"play\": play the alarm effect","types":["String"],"since":null,"text":"mode: String - can be one of:\n- \"init\": add \"Hit\" and \"GetIn\" event handler on the car\n- \"play\": play the alarm effect"},{"name":"car","type":"Object","optional":false,"default":null,"description":"vehicle protected by alarm","types":["Object"],"since":null,"text":"car: Object - vehicle protected by alarm"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[\"init\", myCar] call BIS_fnc_carAlarm;\n```","code":["[\"init\", myCar] call BIS_fnc_carAlarm;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Event Handlers"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Object Manipulation","Functions","Introduced with Arma 3 version 1.76"],"docblock":null,"filled_from_docblock":[]}