OK論壇

 找回密碼
 註冊
查看: 1622|回復: 1

[這主題已經被回收了,購買前請三思] 組隊經驗值倍增書 Ver1.1完整版

 關閉 [複製鏈接]

該用戶從未簽到

發表於 2010-1-30 08:14:10 | 顯示全部樓層 |閱讀模式
下載了 為私服而開  大大所原創的腳本

組隊經驗加倍書 他留下一個BUG 但是新手的我 真的不知去哪下去 或者是爬文

bug更改:請加入沒有組隊時不能使用的判定

跪求答案 拜託。

回復

使用道具 舉報

  • TA的每日心情
    開心
    2019-8-18 04:57 PM
  • 簽到天數: 2148 天

    連續簽到: 1 天

    [LV.Master]伴壇終老

    發表於 2010-1-30 15:33:33 | 顯示全部樓層
    1. if(!getcharid(1)){end;}
    複製代碼
    *getcharid(<type>{,"<character name>"})

    This function will return a unique ID number of the invoking character, or, if a
    character name is specified, of that character.

    Type is the kind of associated ID number required:

    0 - Character ID number.
    1 - Party ID number.
    2 - Guild ID number.
    3 - Account ID number.

    For most purposes other than printing it, a number is better to have than a name
    (people do horrifying things to their character names).

    If the character is not in a party or not in a guild, the function will return 0
    if guild or party number is requested. If a name is specified and the character
    is not found, 0 is returned.

    If getcharid(0) returns a zero, the script got called not by a character and
    doesn't have an attached RID. Note that this will cause the map server to
    print "player not attached!" error messages, so it is preferred to use
    "playerattached" to check for the character attached to the script.

    if( getcharid(2) == 0 ) mes "Only members of a guild are allowed here!";
    回復 支持 反對

    使用道具 舉報

    您需要登錄後才可以回帖 登錄 | 註冊

    本版積分規則

    Archiver|手機版|小黑屋|OK討論區

    GMT+8, 2025-6-25 08:51 PM , Processed in 0.051371 second(s), 20 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回復 返回頂部 返回列表