Don't show name.
#1

Hello all. I have problem here:

Код:
stock TOP10(playerid)
{
	new String[ 200 ],savingstring[ 60 ];
	mysql_query("SELECT Name,Kills FROM players ORDER BY Kills DESC LIMIT 10");
	mysql_store_result();
	new AllPlayers;
	strcat(String,"Players TOP10 kills\n\n");
	while(mysql_retrieve_row())
	{
		AllPlayers++;
		new UserName[24],UserKills[11];
		sscanf(savingstring,"p<|>s[24]d",UserName,UserKills);

		format(String, sizeof(String), "%s%d. %s %d kills\n", String, AllPlayers, UserName, strval(UserKills));
	}
mysql_free_result();
ShowPlayerDialog( playerid, 21, DIALOG_STYLE_MSGBOX, "TOP 10", String, "OK", "" );
return 1;
}
All is well, but don't show player name:

ex:

Код:
1.  1 kills
Reply


Messages In This Thread
Don't show name. - by budelis - 15.06.2012, 08:05
Re: Don't show name. - by tiernantheman - 15.06.2012, 08:16
Re: Don't show name. - by budelis - 15.06.2012, 08:22
Re: Don't show name. - by Littlehelper - 15.06.2012, 08:52
Re: Don't show name. - by PrawkC - 15.06.2012, 09:20
Re: Don't show name. - by Vince - 15.06.2012, 09:21
Re: Don't show name. - by budelis - 16.06.2012, 13:46
Re: Don't show name. - by budelis - 16.06.2012, 17:11
Re: Don't show name. - by budelis - 17.06.2012, 08:55
Re: Don't show name. - by budelis - 17.06.2012, 15:53

Forum Jump:


Users browsing this thread: 6 Guest(s)