We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b364bf8 commit 47514c7Copy full SHA for 47514c7
1 file changed
plugins/basechat.sp
@@ -277,18 +277,17 @@ public Action Command_SmPsay(int client, int args)
277
return Plugin_Handled;
278
}
279
280
- char text[192], arg[64], message[192];
+ char text[192], arg[64];
281
GetCmdArgString(text, sizeof(text));
282
283
int len = BreakString(text, arg, sizeof(arg));
284
- BreakString(text[len], message, sizeof(message));
285
286
int target = FindTarget(client, arg, true, false);
287
288
if (target == -1)
289
290
291
- SendPrivateChat(client, target, message);
+ SendPrivateChat(client, target, text[len]);
292
293
294
0 commit comments