error 035: argument type mismatch (argument 2)
#1

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

Код 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]);
}
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]);
Reply


Messages In This Thread
error 035: argument type mismatch (argument 2) - by rOps - 14.03.2019, 22:54
Re: error 035: argument type mismatch (argument 2) - by Kaliber - 15.03.2019, 09:29
Re: error 035: argument type mismatch (argument 2) - by rOps - 15.03.2019, 09:53

Forum Jump:


Users browsing this thread: 1 Guest(s)