18.09.2012, 13:30
Hey guys!
I got the following:
It works with one object in the inventory, but when I add another object into my inventory I only see the last one.
Why? It's a correct loop right?
I got the following:
Код:
while( listInventoryItems( playerid, itemName, itemDesc, itemAmm, idx ) )
{
format( ilist, sizeof ilist, "{FFFFFF}%s \t %s (Amount: %i)\n", itemName, itemDesc, itemAmm );
ShowPlayerDialog(playerid, 789, DIALOG_STYLE_LIST, "Inventory", ilist, "Close", "Close");
idx ++;
}
Why? It's a correct loop right?

