10.05.2015, 14:22
adminctext holds the max 130 characters stored by sscanf so the check would fail. You don't need a new string and sscanf for that though:
pawn Код:
if (isnull(params)) return SendClientMessage(playerid, COLOR_CYAN, "USAGE: /a <text>");
if (strlen(params) > 130) return SendClientMessage(playerid, COLOR_RED, "error: long text!");
...
// "params" holds the text