addPlayerScores: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(server exec)
m (format)
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>player [[addPlayerScores]] [0, 1, 0, 0, 1];</code> |= Example 1
|x1= <code>[[player]] [[addPlayerScores]] [0, 1, 0, 0, 1];</code> |= Example 1


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 05:07, 20 September 2016

-wrong parameter ("A3") defined!-[[:Category:Introduced with A3 version 1.62|1.62]]
Hover & click on the images for description

Description

Description:
MP server only: Adds player score.
Groups:
Uncategorised

Syntax

Syntax:
unit addPlayerScores values
Parameters:
unit: Object
values: Array - killsInfantry , killsSoft, killsArmor, killsAir, killed
Return Value:
Nothing

Examples

Example 1:
player addPlayerScores [0, 1, 0, 0, 1];

Additional Information

See also:
addScoreaddScoreSidegetPlayerScoresscorescoreSide

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

[[Category:Introduced with A3 version 1.62]][[ Category: A3: New Scripting Commands | ADDPLAYERSCORES]][[ Category: A3: Scripting Commands | ADDPLAYERSCORES]]

Bottom Section