[Include] Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions)
#7

Cyanide, this include has some issues for me.

1. Sometimes the file saves when I log out, but sometimes it erases all of the items in the inventory-user-file.
2. I have this command:

Код:
COMMAND:i(playerid, params[])
{
	new ilist[780];
 	new
   	itemName[ 30 ],
   	itemDesc[ 100 ],
   	itemAmm,
   	idx;
   
   while( listInventoryItems( playerid, itemName, itemDesc, itemAmm, idx ) )
   {
   		format( ilist, sizeof ilist, "{FFFFFF}%s - %s (Amount: %i)\n%s", itemName, itemDesc, itemAmm , ilist);
      	idx ++;
   }
    ShowPlayerDialog(playerid, 789, DIALOG_STYLE_LIST, "Inventory", ilist, "Close", "Close");
    return 1;
}
Which shows me two items while only having one sometimes (same items, same descriptions, same amount).
Reply


Messages In This Thread
Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions) - by Cyanide - 04.09.2011, 12:34
Re: Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions) - by Phanto90 - 04.09.2011, 12:42
Re: Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions) - by WooTFTW - 04.09.2011, 12:45
Re: Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions) - by FireCat - 04.09.2011, 12:45
Re: Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions) - by Cyanide - 04.09.2011, 12:53
AW: Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions) - by 'Pawno. - 20.09.2012, 10:48
Re: Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions) - by Devix - 09.10.2012, 10:50
Re : Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions) - by DexX39 - 24.01.2014, 16:47
Re: Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions) - by Toxik - 17.02.2014, 11:41
Re: Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions) - by MasonSFW - 04.07.2015, 15:46
Re: Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions) - by IchNar - 24.08.2017, 17:33
Re: Cyanide's Inventory System (Saving, and Loading Support | Great for Roleplay | Descriptions) - by FuNkYTheGreat - 24.08.2017, 17:41

Forum Jump:


Users browsing this thread: 1 Guest(s)