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