02-19-2014, 05:10 AM
Okay, that helps. (The API example says to use cItemCategory)
But now I have a different error:
[14:06:19] LUA: Plugins/PluginTest/main.lua:23: error in function 'IsHoe'.
argument #1 is 'table'; 'number' expected.
HeldItem.m_ItemType should return a number, so I'm not sure what the problem is.
But now I have a different error:
[14:06:19] LUA: Plugins/PluginTest/main.lua:23: error in function 'IsHoe'.
argument #1 is 'table'; 'number' expected.
HeldItem.m_ItemType should return a number, so I'm not sure what the problem is.