pi = FindItemBySerial(vecContainer[ci]);
void wornitems(UOXSOCKET s, CHARACTER j) // Send worn items of player j{	chars[j].onhorse=false;	int ci=0,loopexit=0;	P_ITEM pi;	while ( ((pi=ContainerSearch(chars[j].serial,&ci)) != NULL) && (++loopexit < MAXLOOPS) )	{		if (pi->free==0)		{			if (pi->layer==0x19) chars[j].onhorse=true;			wearIt(s,pi);		}	}}