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|examples=
{{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
* 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.
|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>
|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
|helpers|related|also|notes}}{{LSLC|Stub|PayPrice}}

Revision as of 21:26, 31 January 2007

Summary

Function: llSetPayPrice( integer price, list quick_pay_buttons );
0.0 Forced Delay
10.0 Energy

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

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.

Deep Notes

Signature

function void llSetPayPrice( integer price, list quick_pay_buttons );