Skip to content

The Client_ShowScoreboard function is no longer working (CS:GO) #69

@ManifestManah

Description

@ManifestManah

The Client_ShowScoreboard stock found in clients.inc does not seem to work anymore, at least not on CS:GO, - Do note that I have not tested if it works for CS:S, so it may still work perfectly fine on there.

I received no errors from my compiler, nor did anything show in my error logs. The code I used for testing was this:

public void OnPluginStart()
{
    HookEvent("player_spawn", Event_PlayerSpawn, EventHookMode_Post);
}

public void Event_PlayerSpawn(Handle event, const char[] name, bool dontBroadcast)
{
    int client = GetClientOfUserId(GetEventInt(event, "userid"));

    if(IsValidClient(client))
    {
        if(!IsFakeClient(client))
        {
            Client_ShowScoreboard(client);

            PrintToChatAll("Debug - 2");
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions