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).
Examples
Section titled “Examples”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.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llSetPayPrice