Code: Select all
var bankbox := FindBankBox(who);
var newpack := Createitemincontainer(who.backpack, 0xe75,1);
//MoveObjectToLocation(newpack, who.x, who.y, who.z);
var test := MoveItemToContainer(newpack, bankbox);
if(!test)
printtextabove(who,""+test.errortext);
endifThere is no such a error in Moveitemtocontainer
Any idea why?