14.03.2019, 22:54
Hello, maybe you can tell me what's wrong with this code? Because I can't find a mistake 

2 same warnings on these lines:
cache_get_value_int(0, String, InventorySystem[playerid][i][ItemID]);
cache_get_value_int(0, String, InventorySystem[playerid][i][ItemAmmount]);


Код HTML:
new String[30]; for(new i = 0; i < MAX_INVENTORY_SLOTS; i ++) { format(String, sizeof(String), "InventoryItemID_%d", i); cache_get_value_int(0, String, InventorySystem[playerid][i][ItemID]); format(String, sizeof(String), "InventoryItemAmmount_%d", i); cache_get_value_int(0, String, InventorySystem[playerid][i][ItemAmmount]); }
cache_get_value_int(0, String, InventorySystem[playerid][i][ItemID]);
cache_get_value_int(0, String, InventorySystem[playerid][i][ItemAmmount]);