Char.GiveItemWithPos
Char.GiveItemWithPos(CharIndex,ItemID,ItemPos,Amount,Mute)
函數功能
給予目標對象道具。
參數說明
CharIndex:數值型 目標的 對象index。ItemID:數值型 道具ID。ItemPos:數值型 道具的位置,範圍0~28。Amount:數值型 道具的堆疊數量,默認爲1。Mute:數值型 是否顯示獲得道具的消息,0爲顯示,1爲不顯示,默認值0。
返回值
目標道具index,失敗則返回負數。
HourGlass