GetPlayerIdentifiers available for JS/C#

Hello, GetPlayerIdentifiers is not referenced in the documentation for JS/C# I tried to add it myself but I do not have the address of the function.

Thanks^^

In js it’s exists: getPlayerIdentifiers(source).

In C# i think that exists but i didn’t find it so take:

public static string[] GetPlayerIdentifiers(string source)
{
    string[] t = new string[API.GetNumPlayerIdentifiers(source)];
    for (int i = 0; i < t.Length; i++)
        t[i] = API.GetPlayerIdentifier(source, i);
    return t;
}
1 Like

player.Identifiers[“identifier”] is even easier and removes the unneded loop