if( !self->pChar || self->pChar->free )
P_PLAYER player = dynamic_cast<P_PLAYER>( self->pChar ); if( !self->pChar || self->pChar->free || !player )
PyObject* wpChar_sendmakemenu( wpChar* self, PyObject* args ){	if( !self->pChar || self->pChar->free )		return PyFalse;	if( !self->pChar->socket() )		return PyFalse;	if( PyTuple_Size( args ) < 1 || !checkArgStr( 0 ) )	{		PyErr_BadArgument();		return NULL;	}	QString menuName = getArgStr( 0 );	MakeMenus::instance()->callMakeMenu( self->pChar->socket(), menuName );		return PyTrue;}