01.02.2014, 21:06
So i have a little problem with mi contact system. It should show so many rows in dialog, but it shows only last inserted contact.
pawn Код:
for(new i = 1; i < kontakte_loodud; i++)
{
if(koInfo[i][Telefon] == PlayerInfo[playerid][pNumber])
{
format(string, sizeof(string), "Kontakti nimi: %s || Number: %d\n", koInfo[i][Kontakt],koInfo[i][Number]);
ShowPlayerDialog(playerid, 444, DIALOG_STYLE_LIST, "Kontaktid",string, "Vali", "Tagasi");