18.10.2012, 01:28
G'day,
I am aware you can use strcat to combine two strings into one.
however I am not 100% sure It's what I want haha.
I would like
would it be something like.
I am aware you can use strcat to combine two strings into one.
however I am not 100% sure It's what I want haha.
I would like
pawn Код:
//
format(string3, sizeof(string3),"%s", string1);
format(string3, sizeof(string3)," with %s.", string2);
ShowPlayerDialog(playerid, 169, DIALOG_STYLE_MSGBOX, "Joint Strings", string3, "Finalise","Back");
pawn Код:
//
format(string1, sizeof(string3),"%s", string1);
format(string2, sizeof(string3)," with %s.", string2);
strcat(string1, string2, sizeof(string1));
ShowPlayerDialog(playerid, 169, DIALOG_STYLE_MSGBOX, "Joint Strings", string1, "Finalise","Back");