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.|return_text|spec|caveats
|examples=<pre>llSetPayPrice(PAY_HIDE, [150,PAY_HIDE,PAY_HIDE,PAY_HIDE]) will give the user a dialog box without the freetext field and only one button with a value of 150.</pre>
|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>
|helpers|related|also|notes}}{{LSLC|Stub|PayPrice}}
|helpers|related|also|notes}}{{LSLC|Stub|PayPrice}}

Revision as of 22:27, 31 January 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 );