10.11.2013, 12:16
I think you can't use it with "strcat";
and i think "strcat"s will not answer that kind of Format Strings such as :-
%b, %c, %d, %f, %i, %s, %x, and %%.
EDIT :-
I think Format Strings is only available for format.
You can just edit it by yourself for Example :-
and i think "strcat"s will not answer that kind of Format Strings such as :-
%b, %c, %d, %f, %i, %s, %x, and %%.
EDIT :-
I think Format Strings is only available for format.
You can just edit it by yourself for Example :-
Код:
format(string, sizeof(string), "My Name is: %s", pName); format(string2, sizeof(string2), "My ID is: %d", playerid); format(string3, sizeof(string3), "The number is %i.",number); //-> The number is 42. format(string4, sizeof(string4), "This is a %s containing the number %i.", string, number); format(AllStrings, sizeof(AllStrings), "%s\n%s\n%s\n%s", string, string2, string3, string4); ShowPlayerDialog(playerid, STATS_DIALOG, DIALOG_STYLE_MSGBOX, "Player Statistic(s)", AllStrings, "Close", "");