flagflag  If you want to see English page, please click "English" Button at Left.

Re: Setup issues

このトピックの投稿一覧へ

なし Re: Setup issues

msg# 1.5.1
depth:
2
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2011-3-4 23:26 | 最終変更
iseki  Home away from home   投稿数: 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);
     }
}
投票数:215 平均点:3.44

投稿ツリー

  条件検索へ


サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2025年 5月翌月
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
<今日>

オンライン状況

101 人のユーザが現在オンラインです。 (2 人のユーザが Forum を参照しています。)

登録ユーザ: 0
ゲスト: 101

もっと...

アクセスカウンタ

今日 : 1308813088130881308813088
昨日 : 1641116411164111641116411
総計 : 2615330026153300261533002615330026153300261533002615330026153300
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com