modding:function:itmgetmass
Discuss this page on this pages TalkPage
itmGetMass
Syntax | (itmGetMass item) → mass of single item in Kg |
---|---|
Arguments | item: The itemStruct of the item you want to get the mass of. |
Returns | The mass of the item in Kg. |
Category | item |
Description | Returns the mass of the item. |
Example
(itmGetMass (itmCreate 0x4001 3))
Returns the number 750. Return to Functions list
modding/function/itmgetmass.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1