if (goldtotal==1) soundeffect(s, 0x00, 0x35); if ((goldtotal>1)&&(goldtotal<6)) soundeffect(s, 0x00, 0x36); else soundeffect(s, 0x00, 0x37); return;
if( !socket || !socket->player() ) return;  UINT16 sEffect = 0x37;  if( amount == 1 ) sEffect = 0x35; else if( amount > 1 && amount < 6 ) sEffect = 0x36;  if( !hearall ) socket->soundEffect( sEffect ); else { for( cUOSocket *mSock = cNetwork::instance()->first(); mSock; mSock = cNetwork::instance()->next() ) if( mSock->inRange( socket ) ) mSock->soundEffect( sEffect ); }
void goldsfx(int s, int goldtotal){	if (goldtotal==1) soundeffect(s, 0x00, 0x35);	if ((goldtotal>1)&&(goldtotal<6)) soundeffect(s, 0x00, 0x36);	else soundeffect(s, 0x00, 0x37);	return;}