modding:function:itmgetactualprice
Discuss this page on this pages TalkPage
itmGetActualPrice
See itmGetActualPrice at Xelerus
Syntax | (itmGetActualPrice item) → actual price of a single item |
---|---|
Arguments | item: The item from what you want to get the real price from. Must be an itemStruct, not a UNID |
Returns | integer: The actual price of the object. It ignores the unknown price (like barrels before you use them all cost the same, this would see past that) |
Category | cash, item |
Description | Returns the price of the object as if it is a known item. |
Example
(itmGetActualPrice (itmCreate 0x4001))
This will return 20. Ok I know this isn't a helpful example but you can't use this function well in a simple example. Return to Functions list
modding/function/itmgetactualprice.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1