22.02.2015, 15:23
You're indicating to sscanf that "title" is a string, but you've defined it as an integer. I would also recommend placing the string as the last parameter, because strings may have spaces and you may confuse sscanf parsing system.
Код:
CMD:menu(playerid, params[]) { new title[32], columns, Float:x, Float:y, Float:col1width, Float:col2width; if(sscanf(params, "dffffs", columns, Float:x, Float:y, Float:col1width, Float:col2width, title)) return SendClientMessage(playerid, -1, "Usage: CreateMenu(columns, Float:x, Float:y, Float:col1width, Float:col2width, title);"); { CreateMenu(title, columns, Float:x, Float:y, Float:col1width, Float:col2width); } return 1; }