Difference between revisions of "LlGiveMoney"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function|func_id=99|func_sleep=0.0|func_energy=10.0
{{LSL_Function|func_id=99|func_sleep=0.0|func_energy=10.0
|func=llGiveMoney|sort=GiveMoney
|func=llGiveMoney|sort=GiveMoney
|return_type=integer|return_text=that is always zero.
|return_type=integer|return_text=that is always {{HoverText|zero|0}}.
|p1_type=key|p1_name=destination|p1_desc=avatar key.
|p1_type=key|p1_name=destination|p1_desc=avatar key.
|p2_type=integer|p2_name=amount|p2_desc=number of L$, must be greater than zero, ('''amount''' > 0)
|p2_type=integer|p2_name=amount|p2_desc=number of L$, must be greater than zero, ('''amount''' > 0)

Revision as of 07:55, 10 February 2007

Summary

Function: integer llGiveMoney( key destination, integer 0)" style="border-bottom:1px dotted; cursor:help;">amount );
0.0 Forced Delay
10.0 Energy

Transfer amount of L$ money from script owner to destination avatar.
Returns an integer that is always zero.

• key destination avatar key.
• integer amount number of L$, must be greater than zero, (amount > 0)

Caveats

  • Once a script has the PERMISSION_DEBIT permission it can empty an account of L$.
    • Fraud & theft are both Linden Lab violations and crimes.

Examples

Deep Notes

Signature

function integer llGiveMoney( key destination, integer amount );