OK論壇

 找回密碼
 註冊
查看: 1505|回復: 2

additem與getitem的差別

 關閉 [複製鏈接]
  • TA的每日心情
    無聊
    2010-6-14 07:14 AM
  • 簽到天數: 1 天

    連續簽到: 0 天

    [LV.1]初來乍到

    發表於 2009-1-28 12:28:09 | 顯示全部樓層 |閱讀模式
    EA
    私服版號: 13436
    問題內容: 腳本問題
    請問各位大大

    獲取物品或獎品的

    additem與getitem的差別在哪裡呢?

    [ 本帖最後由 maxall100 於 2009-1-28 01:40 PM 編輯 ]
    回復

    使用道具 舉報

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

    連續簽到: 1 天

    [LV.Master]伴壇終老

    發表於 2009-1-28 12:46:08 | 顯示全部樓層
    沒 有 additem

    只 有
    *npcshopadditem "<name>",<item id>,<price>{,<item id>,<price>{,<item id>,<price>{,...}}}

    This command will add more items at the end of the selling list for the
    specified npc shop. If you specify an item already for sell, that item will
    appear twice on the sell list.

    The function returns 1 if shop was updated successfully, or 0 if not found.

    Note that you cannot use -1 to specify default selling price!
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    無聊
    2010-6-14 07:14 AM
  • 簽到天數: 1 天

    連續簽到: 0 天

    [LV.1]初來乍到

     樓主| 發表於 2009-1-28 13:41:03 | 顯示全部樓層
    原來如此  

    謝謝大大的幫忙

    因為最近在寫交換的腳本

    不過每次都錯誤呢  囧
    回復 支持 反對

    使用道具 舉報

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

    本版積分規則

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

    GMT+8, 2024-5-5 05:30 PM , Processed in 0.109408 second(s), 21 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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