>[danger] 此功能暂时无效 | TPlayMonster(无效) | | | --- | --- | | **函数** | **功能** | | function PlayMonsterTakeOnItem(AUserItem: TUserItem; ItemWhere: TItemWhere):Boolean; | 给人形怪、英雄穿装备 | | function PlayMonsterTakeOffItem(ItemWhere: TItemWhere;Var AUserItem: TUserItem ):Boolean; | 给人形怪、英雄脱装备 | 示例: ``` If Player.Gender = 0 Then Begin AItem :=Npc.Giveitem(Player, '布衣(男)'); If AItem<> Nil Then Begin If APlayMon <> Nil Then Begin APlayMon.Playmonstertakeonitem(AItem,wDress); End; End; End; ```