Difference between revisions of "LlGiveMoney"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSLFunctionAll|func_id=99|func_sleep=0.0|func_energy=10.0|func=llGiveMoney|return_type=integer|p1_type=key|p1_name=destination|p2_type=integer|p2_name=amount|func_footnote=transfer amount of money from script owner to destination|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSLFunctionAll|func_id=99|func_sleep=0.0|func_energy=10.0|func=llGiveMoney
|return_type=integer|return_text that is always zero.
|p1_type=key|p1_name=destination|p1_desc=avatar key.
|p2_type=integer|p2_name=amount|number of L$, must be greater than zero, ('''amount''' > 0)
|func_desc=Transfer '''amount''' of L$ money from script owner to '''destination''' avatar.
|spec
|caveats=
*Requires {{LSLG|PERMISSION_DEBIT}}.
**Once a script has permission it can empty an account of L$.
***Fraud & theft are both {{LL|TOS}} violations and crimes.
|examples
|helpers
|related
|also_functions=*{{LSLG|llRequestPermissions}}
|notes}}[[Category:LSL_Avatar]][[Category:LSL_Permissions]][[Category:LSL_Stub]]

Revision as of 07:33, 28 January 2007

   Outdated templated used

Please change the template from 'LSLFunctionAll' to 'LSL_Function' (just replace 'LSLFunctionAll' with 'LSL_Function', do this after fixing any other erorr messages.

Summary

Function: integer llGiveMoney( key destination, integer amount );

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

• key destination avatar key.
• integer amount

Caveats

  • Requires PERMISSION_DEBIT.
    • Once a script has permission it can empty an account of L$.
      • Fraud & theft are both Linden Lab violations and crimes.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Deep Notes

Search JIRA for related Issues

Signature

function integer llGiveMoney( key destination, integer amount );