P_ITEM pi = Items->SpawnItem(pC->getPlayer(), amt, "#", 1, 0x097A, 0, 1);
P_ITEM pi = Items->SpawnItem(pC->player(), amt, "#", 1, 0x097A, 0, 1);
static void BladeTarget(P_CLIENT pC, PKGx6C *pp){	UOXSOCKET s = pC->GetSocket();	short id=pp->model;	if (isCharSerial(pp->Tserial))	{		;	// a sheep or goat ?	}	else if (IsCorpse(id))	{		CorpseTarget(pC);	}	else if(IsFish(id))	{		const P_ITEM rpi=FindItemBySerial(pp->Tserial);		short int amt=0;		if (!rpi) return;		if (rpi->amount()>1)			amt=(rpi->amount()*4);		else			amt=4; 		soundeffect(s,0x00,0x50);		P_ITEM pi = Items->SpawnItem(pC->getPlayer(), amt, "#", 1, 0x097A, 0, 1);		if(!pi)			return;		RefreshItem(pi);		Items->DeleItem(rpi);	}	else		sysmessage(s,"You can't think of a way to use your blade on that.");}