User Tools

Site Tools


modding:function:itmgetprice

Discuss this page on this pages TalkPage

itmGetPrice

See itmGetPrice at Xelerus

Syntax (itmGetPrice item) → price of a single item
Arguments item: The itemStruct of the item you want to get the value of.
Returns If unknown returns the value of the unknown type otherwise returns the value of the item.
Category cash, item
Description Returns the value of the item.

Example

(itmGetPrice (itmCreate 0x4001 3))

Returns the number 20. Return to Functions list

modding/function/itmgetprice.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1