{"name":"BIN_fnc_taskAdded","operator":null,"title":"BIN fnc taskAdded","type":"function","url":"https://community.bistudio.com/wiki/BIN_fnc_taskAdded","revid":286091,"updated":"2021-06-20T17:25:37Z","groups":["Contact"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.94"}],"since":{"game":"arma3","name":"Arma 3","version":"1.94"},"arma3_since":"1.94","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Return if task was added to player. Includes both finished and unfinished tasks.\n\n> [!NOTE]\n> This content is exclusive to the Arma 3 Contact Expansion.","syntaxes":[{"syntax":"[param0] call BIN_fnc_taskAdded","since":null,"effect":null,"exec":null,"params":[{"name":"param0","type":"String","types":["String"],"optional":false,"default":null,"description":"task ID","since":null,"text":"0: STRING - task ID","source":"docblock"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"BOOL","source":"docblock"},"inferred":true}],"examples":[{"text":"```sqf\nif (\"q_schnobble\" call BIN_fnc_taskAdded) then {hint \"ADDED!\";};\n```","code":["if (\"q_schnobble\" call BIN_fnc_taskAdded) then {hint \"ADDED!\";};"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Contact","Functions","Introduced with Arma 3 version 1.94"],"docblock":{"author":null,"description":"Return if task was added to player. Includes both finished and unfinished tasks.","params":[{"index":0,"name":null,"types":["String"],"optional":false,"default":null,"description":"task ID","text":"STRING - task ID"}],"returns":{"types":["Boolean"],"text":"BOOL"},"examples":["if (\"q_schnobble\" call BIN_fnc_taskAdded) then {hint \"ADDED!\";};"],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"Description:\n    Return if task was added to player.\n    Includes both finished and unfinished tasks.\n\nParameter(s):\n    0: STRING - task ID\n\nReturns:\n    BOOL\n\nExample:\n    if (\"q_schnobble\" call BIN_fnc_taskAdded) then {hint \"ADDED!\";};"},"filled_from_docblock":["params","syntax","returns","examples","description"]}