SetStoreMaxBuyPrice(object, int)

Sets the maximum amount a store will pay for any item.

void SetStoreMaxBuyPrice(
    object oidStore,
    int nMaxBuy
);

Parameters

oidStore

Store object to handle

nMaxBuy

Maximum price the store will pay


Description

Gets the maximum amount a store will pay for any item. -1 means price unlimited.



Remarks

This can also be set directly in the Toolset.

By default, stores don't have a maximum buy price.


Version

1.61

See Also

functions: GetStoreMaxBuyPrice
categories: Store Functions | Money Functions


 author: Lilac Soul, editor: Mistress