API GetInventoryItemMass
From Vendetta Lua
Jump to navigationJump to search
GetInventoryItemMass
Definition:
GetInventoryItemMass(int itemid) -> float mass
Description:
get mass of inventory item
Arguments:
itemid inventory item
Returns:
path mass of item as float in tons
Example:
<source lang="lua">GetInventoryItemMass(1234) -> 4.000</source>
the mass of item 1234 is 4000kg