View Single Post
banz
Member
Join Date: Jan 2010
Old 01-29-2010 , 12:13   Re: [L4D & L4D2] Custom Player Stats v1.4B61
Reply With Quote #104

Hi, i am playing with friends over Lan Network and changed GetClientAuthString, to get Name.
But now there are bots in my stats list. I dont want them to be ranked. What do I have to change, so they are not listed anymore?

I think they are identified here, right?

Code:
IsClientBot(client)
{
	if (client == 0 || !IsClientConnected(client))
		return true;

	decl String:SteamID[MAX_LINE_WIDTH];
	GetClientRankAuthString(client, SteamID, sizeof(SteamID));

	if (StrEqual(SteamID, "BOT", false))
		return true;

	return false;
}

Thanks a lot!

Last edited by banz; 01-29-2010 at 12:47.
banz is offline