Removed redundant check for class menu command. Fixed suicide intercept message not displayed in chat. Text from chat will still appear in console if written from console.
This commit is contained in:
1 parent
9f80847221
commit
614048ad69
2 files changed
+2
-9
No files matched your search
@@ -59,14 +59,7 @@ public Action:ZClassCommand(client, argc)
|
||||
// If client is console, then stop and tell them this feature is for players only.
|
||||
if (ZRIsConsole(client))
|
||||
{
|
||||
TranslationReplyToCommand(client, "Must be player");
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
// Check if class selection is allowed.
|
||||
if (!ClassAllowSelection(client))
|
||||
{
|
||||
TranslationReplyToCommand(client, "Classes Selection Not Allowed");
|
||||
TranslationPrintToChat(client, "Must be player");
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user