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");
}
}
}