Merged heads.
This commit is contained in:
commit
b909ff0739
15 files changed
+447
-96
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user