UID216207
帖子
精華
主題
積分73661
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限40
註冊時間2009-11-27
在線時間 小時
最後登錄1970-1-1
TA的每日心情 | 開心 2023-12-30 04:16 AM |
---|
簽到天數: 1322 天 連續簽到: 1 天 [LV.10]以壇為家III
|
發表於 2014-7-19 00:31:47
|
顯示全部樓層
本帖最後由 sinya 於 2014-7-19 12:37 AM 編輯
Animation_Cramp 發表於 2014-7-18 11:03 PM
addrid(0);只適用於在線玩家才會運作?
addrid(?);內容設定設定多少含意是什麼
你都不看doc的嗎?
https://raw.githubusercontent.co ... script_commands.txt
這個不是嗎?
*addrid(<type>{,<flag>{,<parameters>}});
This command will attach other RIDs to the current script without detaching the
invoking RID. It returns 1 if successful and 0 upon failure.
<type> determines what RIDs are attached:
0: All players in the server.
1: All players in the map of the invoking player, or the invoking NPC if no player is attached.
2: Party members of a specified party ID.
[ Parameters: <party id> ]
3: Guild members of a specified guild ID.
[ Parameters: <guild id> ]
4: All players in a specified area of the map of the invoking player (or NPC).
[ Parameters: <x0>,<y0>,<x1>,<y1> ]
Account ID: The specified account ID.
<flag> can prevent certain players from being attached:
0: Players are always attached. (default)
1: Players currently running another script will not be attached.
|
|