Talk:Money transfer denied: Difference between revisions
Jump to navigation
Jump to search
A comment added |
No edit summary |
||
| Line 5: | Line 5: | ||
if(perm & PERMISSION_DEBIT) | if(perm & PERMISSION_DEBIT) | ||
{ | { | ||
//normal code if it is granted. | |||
} | } | ||
else | else | ||
Revision as of 15: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)