API GetInventoryItemMass

From Vendetta Lua
Revision as of 22:00, 25 January 2009 by Chefkoch (talk | contribs) (split)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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