flagflag  

Re: Setup issues

List posts in the topic

なし Re: Setup issues

msg# 1.5.1
depth:
2
Previous post - Next post | Parent - Children.1 | Posted on 2011/3/4 23:26 | Last modified
iseki  Home away from home   Posts: 1581
Hi

If you want to use Banker Avatar (buy currency), you should use Grid Mode of OpenSim.
In Stand Alone mode, "buy currency" is not work, sorry.
Because, PHP script can not get session ID from DB in Stand Alone mode.


llGiveMoney() is used like the following examples.
When someone touches this object, he get money from creator of this object.

default
{
    state_entry()
    {
        llSay(0, "Script running");
        llRequestPermissions(llGetOwner(), PERMISSION_DEBIT ); 
    }
    
     touch_start(integer num)
     {
         llSay(0, "Give Money");
         llGiveMoney(llDetectedKey(0), 100);
     }
}
Votes:197 Average:3.55

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

41 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 41

more...

Access Counter

Today : 7004700470047004
Yesterday : 1361113611136111361113611
Total : 2364541123645411236454112364541123645411236454112364541123645411
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com