09.11.2014, 11:57
Hi all, i have fix this problem, if you need it too just copy that code:
Error: Show this message : sscanf warning: Format specifier does not match parameter count.
and <10-99> not working
Sorry for my bad english ! Thanks all for help me !
Код:
CMD:sscanftest(playerid, params[]) { new dollar, cent, string[12]; if (sscanf(params, "uS()[12]", playerid, string)) return SendErrorMessage(playerid, "/sscanf [playerid]"); if (sscanf(string, "p<.>dd<10-99>", dollar, cent)) return SendErrorMessage(playerid, "/sscanf [playerid] [dollar.cent]"); printf("%d", playerid); // Will be print playerid printf("%d", dollar); // Will be print dollar printf("%d", cent); // Will be print cent return 1; }
and <10-99> not working
Sorry for my bad english ! Thanks all for help me !