logoHourGlass
Char.DelItem

Char.DelItem

Char.DelItem(CharIndex,ItemID,Amount,ShowMessage)

函數功能

刪除目標對象道具。

參數說明

  • CharIndex數值型 目標的 對象index。
  • ItemID數值型 道具ID。
  • Amount數值型 道具的數量。
  • ShowMessage數值型 是否顯示刪除道具的消息,1爲顯示,0爲不顯示,默認值1。

返回值

成功返回1,失敗則返回0。