Merged heads.

This commit is contained in:
Greyscale
2009-04-16 01:18:26 +02:00
15 changed files with 447 additions and 96 deletions

View File

@ -235,7 +235,7 @@ bool:IsPlayerInList(client)
bool:IsClientPlayer(client)
{
if (client > 0 && client <= maxclients)
if (!IsFakeClient(client) && client > 0 && client <= maxclients)
{
return true;
}
@ -251,7 +251,7 @@ bool:IsClientPlayer(client)
*/
bool:IsClientAdmin(client)
{
if (GetAdminFlag(GetUserAdmin(client), Admin_Generic))
if (IsClientPlayer(client) && GetAdminFlag(GetUserAdmin(client), Admin_Generic))
{
return true;
}