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 textu 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(8, {})
{
  "def": "func",
  "desc": "Sets the default amount when someone chooses to pay this object.\nPrice is the default price shown in the textu 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,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlSetPayPrice",
  "name": "SetPayPrice",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Price",
          "desc": "The default price shown in the textu input field.",
          "type": [
            "integer",
            "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": [
            "list"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll