I’m developing my own gamemode from scratch in C#. It’s going well except for one thing: I can’t figure out why I can’t retrieve the Steam identifier, even though my resource seems to be well scripted.
namespace cspawnmanager.Server
{
public class ServerMain : BaseScript
{
public ServerMain()
{
EventHandlers["playerJoining"] += new Action<string, string>((player, oldID) =>
{
for(short i = 0; i < GetNumPlayerIdentifiers(player); i++)
Debug.WriteLine($"{GetPlayerIdentifier(player, i)}");
});
}
}
}
When this script is executed, it prints out all the player identifiers, except for the Steam one. Therefore, I’m asking whether the Steam identifier is only available as a premium feature or if there’s something unusual with my server.
Thanks in advance.