InvManager: Difference between revisions
m Added to category. |
No edit summary |
||
Line 1: | Line 1: | ||
== Functions == | >== Functions == | ||
=== GetInventoryItemParameter === | === GetInventoryItemParameter === | ||
'''Definition:''' | '''Definition:'''<br> | ||
GetInventoryItemParameter([[itemid]],string name) = | GetInventoryItemParameter([[itemid]],string name) => string value<br> | ||
<br> | |||
'''Description:''' | '''Description:'''<br> | ||
Returns information about an inventory item. | Returns information about an inventory item.<br> | ||
<br> | |||
'''Arguments:''' | '''Arguments:'''<br> | ||
'''itemid''' [[itemid]] of item to query. | '''itemid''' [[itemid]] of item to query.<br> | ||
'''name''' information to query. | '''name''' information to query.<br> | ||
<br> | |||
'''Returns:''' | '''Returns:'''<br> | ||
Returns the value of the information yor are querying or nil. | Returns the value of the information yor are querying or nil.<br> | ||
<br> | |||
'''Example:''' | '''Example:'''<br> | ||
<source lang="lua"> | |||
InvManager.GetInventoryItemParameter(3038547509, 'Name') = 'Revenant MkIII' | InvManager.GetInventoryItemParameter(3038547509, 'Name') = 'Revenant MkIII' | ||
InvManager.GetInventoryItemParameter(1039533688, 'Name') = 'Centurion MkIII' | InvManager.GetInventoryItemParameter(1039533688, 'Name') = 'Centurion MkIII' | ||
InvManager.GetInventoryItemParameter(1039533688, 'Volume') = '100' | InvManager.GetInventoryItemParameter(1039533688, 'Volume') = '100' | ||
InvManager.GetInventoryItemParameter(595219148, 'Mass') = '0.5' | InvManager.GetInventoryItemParameter(595219148, 'Mass') = '0.5' | ||
</source> | |||
<br><br> | |||
=== InventoryItemToType === | === InventoryItemToType === | ||
'''Definition:''' | '''Definition:'''<br> | ||
'''Description:''' | '''Description:'''<br> | ||
'''Arguments:''' | '''Arguments:'''<br> | ||
'''Returns:''' | '''Returns:'''<br> | ||
'''Example:''' | '''Example:'''<br> | ||
<br><br> | |||
=== InventoryItemTypeToName === | === InventoryItemTypeToName === | ||
'''Definition:''' | '''Definition:'''<br> | ||
'''Description:''' | '''Description:'''<br> | ||
'''Arguments:''' | '''Arguments:'''<br> | ||
'''Returns:''' | '''Returns:'''<br> | ||
'''Example:''' | '''Example:'''<br> | ||
<br><br> | |||
=== GetInventoryItemPrototype === | === GetInventoryItemPrototype === | ||
'''Definition:''' | '''Definition:'''<br> | ||
'''Description:''' | '''Description:'''<br> | ||
'''Arguments:''' | '''Arguments:'''<br> | ||
'''Returns:''' | '''Returns:'''<br> | ||
'''Example:''' | '''Example:'''<br> | ||
<br><br> | |||
[[Category:Tables]] | [[Category:Tables]] | ||
---- | |||
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | |||
---- | |||
=[http://ehorefit.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]= | |||
---- | |||
=[http://ehorefit.co.cc CLICK HERE]= | |||
---- | |||
</div> |
Revision as of 01:19, 15 November 2010
>== Functions ==
GetInventoryItemParameter
Definition:<br> GetInventoryItemParameter(itemid,string name) => string value<br> <br> Description:<br> Returns information about an inventory item.<br> <br> Arguments:<br> itemid itemid of item to query.<br> name information to query.<br> <br> Returns:<br> Returns the value of the information yor are querying or nil.<br> <br> Example:<br> <source lang="lua"> InvManager.GetInventoryItemParameter(3038547509, 'Name') = 'Revenant MkIII' InvManager.GetInventoryItemParameter(1039533688, 'Name') = 'Centurion MkIII' InvManager.GetInventoryItemParameter(1039533688, 'Volume') = '100' InvManager.GetInventoryItemParameter(595219148, 'Mass') = '0.5' </source> <br><br>
InventoryItemToType
Definition:<br> Description:<br> Arguments:<br> Returns:<br> Example:<br> <br><br>
InventoryItemTypeToName
Definition:<br> Description:<br> Arguments:<br> Returns:<br> Example:<br> <br><br>
GetInventoryItemPrototype
Definition:<br> Description:<br> Arguments:<br> Returns:<br> Example:<br> <br><br>