1 string in a other
#9

Try out this script (Not tested):
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (!strcmp("/test", cmdtext, true))
	{
		new string[256];
		new string2[256];
		for(new i=0; i < NumberOfRank; i++) //Change "NumberOfRank" the ranks will show
		{
			format(string, sizeof(string), "%s [Rank: %d] - %d Score\n", RankNames[i], Rank[i], RankScore[i]);
			format(string2, sizeof(string2), "%s%s", string2, string);
		}
		ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Ranks",string2,"OK","Quit");
		return 1;
	}
	return 0;
}
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)