Difference between revisions of "LlSetPayPrice"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function|func_id=302|func_sleep=0.0|func_energy=10.0|func=llSetPayPrice|p1_type=integer|p1_name=price|p2_type=list|p2_name=quick_pay_buttons|sort=PayPrice|func_desc=Sets the default amount for price text field and pay buttons of the appearing dialog when someone chooses to pay this object.|return_text|spec|caveats
{{LSL_Function
|func_id=302|func_sleep=0.0|func_energy=10.0
|func=llSetPayPrice
|p1_type=integer|p1_name=price
|p2_type=list|p2_name=quick_pay_buttons
|sort=PayPrice
|func_desc=Sets the default amount for price text field and pay buttons of the appearing dialog when someone chooses to pay this object.
|examples=This will give the user a dialog box without the '''price''' field and only one button with a value of 150.
|examples=This will give the user a dialog box without the '''price''' field and only one button with a value of 150.
<pre>llSetPayPrice(PAY_HIDE, [150,PAY_HIDE,PAY_HIDE,PAY_HIDE])</pre>
<pre>llSetPayPrice(PAY_HIDE, [150,PAY_HIDE,PAY_HIDE,PAY_HIDE])</pre>
|helpers|related|also|notes}}{{LSLC|Stub|PayPrice}}
|spec
|caveats
|constants={{LSLC|FixMe}}
|helpers
|also_functions
|also_tests
|also_events
|also_articles
|notes
|cat1=Money
|cat2
|cat3
|cat4
}}

Revision as of 10:47, 23 February 2007

Summary

Function: llSetPayPrice( integer price, list quick_pay_buttons );

Sets the default amount for price text field and pay buttons of the appearing dialog when someone chooses to pay this object.

• integer price
• list quick_pay_buttons

Examples

This will give the user a dialog box without the price field and only one button with a value of 150.

llSetPayPrice(PAY_HIDE, [150,PAY_HIDE,PAY_HIDE,PAY_HIDE])

Deep Notes

Search JIRA for related Issues

Signature

function void llSetPayPrice( integer price, list quick_pay_buttons );