mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-09 03:18:25 +00:00
Fixed !ccname and !ccmsg with no arguments not showing current setting.
This commit is contained in:
parent
af1c2c9870
commit
03973665d5
@ -243,7 +243,7 @@ public Action Command_CCName(int client, int args)
|
|||||||
if(args == 0 || strlen(sArgs) == 0)
|
if(args == 0 || strlen(sArgs) == 0)
|
||||||
{
|
{
|
||||||
Shavit_PrintToChat(client, "%T", "ArgumentsMissing", client, "sm_ccname <text>");
|
Shavit_PrintToChat(client, "%T", "ArgumentsMissing", client, "sm_ccname <text>");
|
||||||
Shavit_PrintToChat(client, "%T", "ChatCurrent", client, sArgs);
|
Shavit_PrintToChat(client, "%T", "ChatCurrent", client, gS_CustomName[client]);
|
||||||
|
|
||||||
return Plugin_Handled;
|
return Plugin_Handled;
|
||||||
}
|
}
|
||||||
@ -293,7 +293,7 @@ public Action Command_CCMessage(int client, int args)
|
|||||||
if(args == 0 || strlen(sArgs) == 0)
|
if(args == 0 || strlen(sArgs) == 0)
|
||||||
{
|
{
|
||||||
Shavit_PrintToChat(client, "%T", "ArgumentsMissing", client, "sm_ccmsg <text>");
|
Shavit_PrintToChat(client, "%T", "ArgumentsMissing", client, "sm_ccmsg <text>");
|
||||||
Shavit_PrintToChat(client, "%T", "ChatCurrent", client, sArgs);
|
Shavit_PrintToChat(client, "%T", "ChatCurrent", client, gS_CustomMessage[client]);
|
||||||
|
|
||||||
return Plugin_Handled;
|
return Plugin_Handled;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user