Probier mal:
player->removeitem "ID" Anzahl

Ich hoffe es stimmt, so aus dem Gedächtnis...