InvManager: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
ArielF (talk | contribs)
m Added to category.
Otutytaqo (talk | contribs)
No edit summary
Line 1: Line 1:
== Functions ==
>== Functions ==


=== GetInventoryItemParameter ===
=== GetInventoryItemParameter ===
'''Definition:'''<br>
'''Definition:'''&lt;br&gt;
GetInventoryItemParameter([[itemid]],string name) => string value<br>
GetInventoryItemParameter([[itemid]],string name) =&gt; string value&lt;br&gt;
<br>
&lt;br&gt;
'''Description:'''<br>
'''Description:'''&lt;br&gt;
Returns information about an inventory item.<br>
Returns information about an inventory item.&lt;br&gt;
<br>
&lt;br&gt;
'''Arguments:'''<br>
'''Arguments:'''&lt;br&gt;
'''itemid''' [[itemid]] of item to query.<br>
'''itemid''' [[itemid]] of item to query.&lt;br&gt;
'''name''' information to query.<br>
'''name''' information to query.&lt;br&gt;
<br>
&lt;br&gt;
'''Returns:'''<br>
'''Returns:'''&lt;br&gt;
Returns the value of the information yor are querying or nil.<br>
Returns the value of the information yor are querying or nil.&lt;br&gt;
<br>
&lt;br&gt;
'''Example:'''<br>
'''Example:'''&lt;br&gt;
<source lang="lua">
&lt;source lang=&quot;lua&quot;&gt;
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>
&lt;/source&gt;
<br><br>
&lt;br&gt;&lt;br&gt;


=== InventoryItemToType ===
=== InventoryItemToType ===
'''Definition:'''<br>
'''Definition:'''&lt;br&gt;
'''Description:'''<br>
'''Description:'''&lt;br&gt;
'''Arguments:'''<br>
'''Arguments:'''&lt;br&gt;
'''Returns:'''<br>
'''Returns:'''&lt;br&gt;
'''Example:'''<br>
'''Example:'''&lt;br&gt;
<br><br>
&lt;br&gt;&lt;br&gt;


=== InventoryItemTypeToName ===
=== InventoryItemTypeToName ===
'''Definition:'''<br>
'''Definition:'''&lt;br&gt;
'''Description:'''<br>
'''Description:'''&lt;br&gt;
'''Arguments:'''<br>
'''Arguments:'''&lt;br&gt;
'''Returns:'''<br>
'''Returns:'''&lt;br&gt;
'''Example:'''<br>
'''Example:'''&lt;br&gt;
<br><br>
&lt;br&gt;&lt;br&gt;


=== GetInventoryItemPrototype ===
=== GetInventoryItemPrototype ===
'''Definition:'''<br>
'''Definition:'''&lt;br&gt;
'''Description:'''<br>
'''Description:'''&lt;br&gt;
'''Arguments:'''<br>
'''Arguments:'''&lt;br&gt;
'''Returns:'''<br>
'''Returns:'''&lt;br&gt;
'''Example:'''<br>
'''Example:'''&lt;br&gt;
<br><br>
&lt;br&gt;&lt;br&gt;


[[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>