Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ManifestManah opened this issue Mar 12, 2022 · 0 comments
Open

Comments

@ManifestManah
Copy link

ManifestManah commented Mar 12, 2022

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");
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant