int c,serhash,ci;
int serhash,ci;
void openbank(int s, int i){	int c,serhash,ci;	int serial=chars[i].serial;	serhash=serial%HASHMAX;	vector<SERIAL> vecOwn = ownsp.getData(serial);	for (ci=0;ci<vecOwn.size();ci++)	{		P_ITEM pj = FindItemBySerial(vecOwn[ci]);		if (pj != NULL)		{			if (pj->GetOwnSerial()==serial &&				pj->type==1 && pj->morex==1)			{				if(SrvParms->usespecialbank)//if using specialbank				{					if(pj->morey==0 && pj->morez==0) //if not initialized yet for the special bank						pj->morey=123;//convert to new special bank					if(pj->morey==123)//check if a goldbank					{						wearIt(s,pj);						backpack(s, pj->serial);						return;					}				} else//else if not using specialbank				{//don't check for goldbank					wearIt(s,pj);					backpack(s, pj->serial);					return;				}			}		}	} // end of !=-1	sprintf((char*)temp, "%s's bank box.", chars[i].name);	const P_ITEM pic = Items->SpawnItem(s,i,1,(char*)temp,0,0x09,0xAB,0,0,0,0);	if ( pic == NULL ) return;	pic->layer=0x1d;	pic->SetOwnSerial(chars[i].serial);	pic->SetContSerial(chars[i].serial);	pic->morex=1;	if(SrvParms->usespecialbank)//AntiChrist - Special Bank		pic->morey=123;//gold only bank	pic->type=1;	wearIt(s,pic);	backpack(s, pic->serial);}