diff --git a/plugins/basechat.sp b/plugins/basechat.sp index 935ebfcf..2c41de9f 100644 --- a/plugins/basechat.sp +++ b/plugins/basechat.sp @@ -125,12 +125,12 @@ public Action:Command_SayChat(client, args) if (msgStart == 1 && CheckCommandAccess(client, "sm_say", ADMFLAG_CHAT)) // sm_say alias { SendChatToAll(client, message); - LogAction(client, -1, "%L triggered sm_say (text %s)", client, message); + LogAction(client, -1, "\"%L\" triggered sm_say (text %s)", client, message); } else if (msgStart == 3 && CheckCommandAccess(client, "sm_csay", ADMFLAG_CHAT)) // sm_csay alias { DisplayCenterTextToAll(client, message); - LogAction(client, -1, "%L triggered sm_csay (text %s)", client, text); + LogAction(client, -1, "\"%L\" triggered sm_csay (text %s)", client, text); } else if (msgStart == 2 && CheckCommandAccess(client, "sm_psay", ADMFLAG_CHAT)) // sm_psay alias { @@ -156,7 +156,7 @@ public Action:Command_SayChat(client, args) PrintToChat(target, "(Private to %s) %s: %s", name2, name, message[len]); } - LogAction(client, -1, "%L triggered sm_psay to %L (text %s)", client, target, message); + LogAction(client, -1, "\"%L\" triggered sm_psay to \"%L\" (text %s)", client, target, message); } else return Plugin_Continue; @@ -191,7 +191,7 @@ public Action:Command_SayAdmin(client, args) strcopy(message, 192, text[startidx+1]); SendChatToAdmins(client, message); - LogAction(client, -1, "%L triggered sm_chat (text %s)", client, message); + LogAction(client, -1, "\"%L\" triggered sm_chat (text %s)", client, message); return Plugin_Handled; } @@ -208,7 +208,7 @@ public Action:Command_SmSay(client, args) GetCmdArgString(text, sizeof(text)); SendChatToAll(client, text); - LogAction(client, -1, "%L triggered sm_say (text %s)", client, text); + LogAction(client, -1, "\"%L\" triggered sm_say (text %s)", client, text); return Plugin_Handled; } @@ -226,7 +226,7 @@ public Action:Command_SmCsay(client, args) DisplayCenterTextToAll(client, text); - LogAction(client, -1, "%L triggered sm_csay (text %s)", client, text); + LogAction(client, -1, "\"%L\" triggered sm_csay (text %s)", client, text); return Plugin_Handled; } @@ -254,7 +254,7 @@ public Action:Command_SmHsay(client, args) PrintHintText(i, "%s: %s", nameBuf, text); } - LogAction(client, -1, "%L triggered sm_hsay (text %s)", client, text); + LogAction(client, -1, "\"%L\" triggered sm_hsay (text %s)", client, text); return Plugin_Handled; } @@ -294,7 +294,7 @@ public Action:Command_SmTsay(client, args) SendDialogToOne(i, color, "%s: %s", nameBuf, text[len]); } - LogAction(client, -1, "%L triggered sm_tsay (text %s)", client, text); + LogAction(client, -1, "\"%L\" triggered sm_tsay (text %s)", client, text); return Plugin_Handled; } @@ -311,7 +311,7 @@ public Action:Command_SmChat(client, args) GetCmdArgString(text, sizeof(text)); SendChatToAdmins(client, text); - LogAction(client, -1, "%L triggered sm_chat (text %s)", client, text); + LogAction(client, -1, "\"%L\" triggered sm_chat (text %s)", client, text); return Plugin_Handled; } @@ -370,7 +370,7 @@ public Action:Command_SmPsay(client, args) PrintToChat(target, "(Private: %s) %s: %s", name2, name, message); } - LogAction(client, -1, "%L triggered sm_psay to %L (text %s)", client, target, message); + LogAction(client, -1, "\"%L\" triggered sm_psay to \"%L\" (text %s)", client, target, message); return Plugin_Handled; } @@ -391,7 +391,7 @@ public Action:Command_SmMsay(client, args) SendPanelToAll(name, text); - LogAction(client, -1, "%L triggered sm_msay (text %s)", client, text); + LogAction(client, -1, "\"%L\" triggered sm_msay (text %s)", client, text); return Plugin_Handled; }