-
-
Notifications
You must be signed in to change notification settings - Fork 7
KPR_fnc_getRank
Christian edited this page Aug 21, 2018
·
1 revision
Gets the current rank of a given player. Identified by the Steam UID. Returns the current rank 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
// Get the rank number of the executing player (-1 - 19)
private _rank = [] call KPR_fnc_getRank;
// Collect the player names of all player with a rank > 10
private _myFancyElite = [];
{
if ([getPlayerUID _x] call KPR_fnc_getRank > 10) then {
_myFancyElite pushBack (name _x);
};
} forEach (allPlayers - entities "HeadlessClient_F");