home *** CD-ROM | disk | FTP | other *** search
- /*
- **
- ** _modules.qc (Modules Code, 1.0)
- **
- ** Copyright (C) 1996 Johannes Plass
- **
- ** This program is free software; you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation; either version 2 of the License, or
- ** (at your option) any later version.
- **
- ** This program is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with this program; if not, write to the Free Software
- ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- **
- ** Author: Johannes Plass (plass@dipmza.physik.uni-mainz.de)
- **
- */
-
- void(entity player) ModulesInitModules =
- {
- MessagesInit(player); //#jp#(Messages)
- MapQueueInit(player); //#jp#(MapQueue)
- KickSuiciderInit(player); //#jp#(KickSuicider)
- RankInit(player); //#jp#(Rank)
- ObserverInit(player); //#jp#(Observer)
- MotdInit(player); //#jp#(Motd)
- SkinInit(player); //#jp#(Skin)
- ServerInit(player); //#jp#(Server)
- PlayerFlagSetFlag(player,PLAYER_IS_INITIALIZED);
- };
-
- void(entity player) ModulesShowInfo =
- {
- // 123456789#123456789#123456789#12345678
- sprint(player,"### Server Modules (version 1.1.4)\n\n");
- if (USE_MODULE_MESSAGES) MessagesInfo(player); //#jp#(Messages)
- if (USE_MODULE_MAPQUEUE) MapQueueInfo(player); //#jp#(MapQueue)
- if (USE_MODULE_SERVER) ServerInfo(player); //#jp#(Server)
- if (USE_MODULE_KICKSUICIDER) KickSuiciderInfo(player); //#jp#(KickSuicider)
- if (USE_MODULE_RANK) RankInfo(player); //#jp#(Rank)
- if (USE_MODULE_SKIN) SkinInfo(player); //#jp#(Skin)
- if (USE_MODULE_OBSERVER) ObserverInfo(player); //#jp#(Observer)
- };
-
-
-