1 string in a other
#5

Quote:
Originally Posted by MadeMan
i had tested, but how it work?
example:

pawn Код:
new array[633];
format(string, sizeof (string), "%s [Rank: %d] - %d Score\n", RankNames[0],Rank[0],RankScore[0]);
strcat(array, string, sizeof(array));
ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Ranks",array,"OK","Quit");
then i have the same.. array = string..
but i like that the strings are in one string

example

pawn Код:
new array[633];
format(string, sizeof (string), "%s [Rank: %d] - %d Score\n", RankNames[0],Rank[0],RankScore[0]);
format(string2, sizeof (string2), "%s [Rank: %d] - %d Score\n", RankNames[1],Rank[1],RankScore[1]);
string3 = string1 + string2 <- only a example..
ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Ranks",string3,"OK","Quit");
Reply


Messages In This Thread
1 string in a other - by Headshot1108 - 23.03.2010, 18:12
Re: 1 string in a other - by Headshot1108 - 23.03.2010, 19:12
Re: 1 string in a other - by MadeMan - 23.03.2010, 19:17
Re: 1 string in a other - by cozza123456 - 23.03.2010, 19:19
Re: 1 string in a other - by Headshot1108 - 23.03.2010, 19:34
Re: 1 string in a other - by TheChaoz - 23.03.2010, 20:29
Re: 1 string in a other - by Headshot1108 - 23.03.2010, 20:45
Re: 1 string in a other - by Headshot1108 - 24.03.2010, 13:10
Re: 1 string in a other - by VirSpectorX - 24.03.2010, 13:24
Re: 1 string in a other - by Headshot1108 - 24.03.2010, 13:50

Forum Jump:


Users browsing this thread: 1 Guest(s)