24.01.2018, 02:45
I solved the problem, I just had to add the Float: tag.. thanks!
printf("Total: %f", floatadd(PlayerData[playerid][InventoryWeight], Float:MarketInventory[listitem][0]));
printf("Total: %f", floatadd(PlayerData[playerid][InventoryWeight], Float:MarketInventory[listitem][0]));