Recoded IsClientPlayer, renamed to IsClientValid, replaced

GetMaxClients() with maxclients
Ignore diff for zhp.inc and spawnprotect.inc
This commit is contained in:
Greyscale committed 2009-04-16 03:57:46 +02:00
1 parent f39570205e
commit 872e41e6d2
14 files changed
+394 -385

No files matched your search

+3 -3
View File
@@ -250,7 +250,7 @@ public Action:Command_GetClassKnockback(client, argc)
public Action:Command_AdminMenu(client, argc)
{
if (IsClientPlayer(client))
if (ZRIsValidClient(client))
{
ZRAdminMenu(client);
}
@@ -264,7 +264,7 @@ public Action:Command_AdminMenu(client, argc)
public Action:Command_KnockbackMMenu(client, argc)
{
if (IsClientPlayer(client))
if (ZRIsValidClient(client))
{
// Disabled, under construction.
// ZRKnockbackMMenu(client);
@@ -279,7 +279,7 @@ public Action:Command_KnockbackMMenu(client, argc)
public Action:Command_TeleMenu(client, argc)
{
if (IsClientPlayer(client))
if (ZRIsValidClient(client))
{
ZRZTeleMenu(client);
}