21.06.2017, 14:00
Use the optional length parameter:
About string buffer overflow, it expects 6 characters but you specify the rest of the parameters so ignore them:
Just for your information, the string size is ignored in quite specifiers.
pawn Код:
if (!strcmp(item, "apple ", true, 6))
pawn Код:
if (sscanf(params, "s[7]{s[50]}", action))