ll.SetPayPrice

ll.SetPayPrice (Price: number, QuickButtons: list) -> ()

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.

Example

ll.SetPayPrice(3.14, {})
Raw function spec json
{
  "def": "func",
  "desc": "Sets the default amount when someone chooses to pay this object.\nPrice is the default price shown in the text input field.  QuickButtons specifies the 4 payment values shown in the payment dialog's buttons.\nInput field and buttons may be hidden with PAY_HIDE constant, and may be set to their default values using PAY_DEFAULT.",
  "energy": 10,
  "sleep": 0,
  "must_use": false,
  "link": "https://wiki.secondlife.com/wiki/LlSetPayPrice",
  "private": false,
  "takesSelf": false,
  "name": "SetPayPrice",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "()"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Price",
          "desc": "The default price shown in the text input field.",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "QuickButtons",
          "desc": "Specifies the 4 payment values shown in the payment dialog's buttons (or PAY_HIDE).",
          "type": [
            {
              "def": "simple",
              "value": "list"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll