Skip to content

llSetPayPrice

function ll.SetPayPrice(Price: number, QuickButtons: {any})

Sets the default amount when someone chooses to pay this object.

Price is the default price shown in the text input field. QuickButtons specifies the 4 payment values shown in the payment dialog's buttons.

Input field and buttons may be hidden with PAY_HIDE constant, and may be set to their default values using PAY_DEFAULT.

Parameters
Price (number)
The default price shown in the text input field.
QuickButtons ({any})
Specifies the 4 payment values shown in the payment dialog's buttons (or PAY_HIDE).

Add example usage here showing SLua/Luau syntax with ll.SetPayPrice().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.