You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Christian edited this page Aug 22, 2018
·
1 revision
Description
Gets the current score of a given player. Identified by the Steam UID.
Returns the current score as number. If the Steam UID wasn't found it returns -1.
Parameter(s)
0: STRING - Steam UID of the player (default: uid of current player)
Returns
NUMBER
Example
// Collect all names of players with a score below 1000 in an arrayprivate_noobies= [];
{
if ([getPlayerUID _x] callKPR_fnc_getScore<1000) then {
_noobies pushBack (name _x);
};
} forEach (allPlayers - entities "HeadlessClient_F");