Merged heads.

This commit is contained in:
Greyscale committed 2009-04-16 01:18:26 +02:00
commit b909ff0739
15 files changed
+447 -96

No files matched your search

+2 -2
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;
}