Difference between revisions of "Talk:Money transfer denied"

From Second Life Wiki
Jump to navigation Jump to search
(A comment added)
 
Line 5: Line 5:
         if(perm & PERMISSION_DEBIT)
         if(perm & PERMISSION_DEBIT)
         {
         {
             state ready;   
             //normal code if it is granted.
         }
         }
         else
         else

Revision as of 14:08, 22 February 2008

Isn't this already possible by first requesting the permission and then using <lsl>

   run_time_permissions (integer perm)
   {
       if(perm & PERMISSION_DEBIT)
       {
           //normal code if it is granted.
       }
       else
       {
           //code for your transfer denied event
       }
   }

</lsl> What would be the difference? Arda Xi 14:07, 22 February 2008 (PST)