{"name":"addScore","title":"addScore","type":"command","url":"https://community.bistudio.com/wiki/addScore","revid":310138,"updated":"2022-05-05T12:27:54Z","groups":["Multiplayer"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","locality":{"argument":"global","effect":"global","server_exec":true},"description":"Adds a number to the score of a unit. Negative values will remove from the score.","syntaxes":[{"syntax":"unit addScore score","params":[{"name":"unit","type":"Object","type_expr":"Object"},{"name":"score","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit"},"right":{"text":"score"}}],"examples":[{"code":["unit addScore 10;"]},{"code":["unit addScore -1337; // reduce the unit's score by 1337 points"]}],"multiplayer":"Server execution only","see_also":["score","scoreSide","addScoreSide","getPlayerScores","Arma 3: Event Handlers"]}