-
-
Notifications
You must be signed in to change notification settings - Fork 7
KPR_fnc_getScore
Christian edited this page Aug 22, 2018
·
1 revision
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.
- 0: STRING - Steam UID of the player (default: uid of current player)
- NUMBER
// Collect all names of players with a score below 1000 in an array
private _noobies = [];
{
if ([getPlayerUID _x] call KPR_fnc_getScore < 1000) then {
_noobies pushBack (name _x);
};
} forEach (allPlayers - entities "HeadlessClient_F");