scn CWxOnBarter int iMenuID begin function { iMenuID } if GetHasNote CWxImplantsNote SetOnMenuCloseEventHandler CWxOnBarter 0 1053 return endif if player.GetItemCount CWxImplantsAllList > 0 call CWxOnAddImplant playerRef playerRef endif end