{"name":"BIS_fnc_addScore","operator":null,"title":"BIS fnc addScore","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_addScore","revid":349163,"updated":"2023-11-08T14:49:51Z","groups":["Multiplayer"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":true},"exec":null,"description":"Adds a set amount of points to the score of a unit *(MP only)*","syntaxes":[{"syntax":"[object, number] call BIS_fnc_addScore","since":null,"effect":null,"exec":null,"params":[{"name":"Object","type":null,"optional":false,"default":null,"description":"unit to add score to.","types":["Object"],"since":null,"text":"Object - unit to add score to."},{"name":"Number","type":null,"optional":false,"default":null,"description":"number of points (score) to add to unit.","types":["Number"],"since":null,"text":"Number - number of points (score) to add to unit."}],"returns":{"type":"Number","types":["Number"],"description":"score added to unit","text":"Number - score added to unit"}}],"examples":[{"text":"```sqf\n[player,20] call BIS_fnc_addScore;\n```","code":["[player,20] call BIS_fnc_addScore;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["addScore"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Multiplayer","Functions","Functions: Server Execution","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}