home *** CD-ROM | disk | FTP | other *** search
/ Superpower (Alt) / SUPERPOWER.iso / q / patch / mbq624 / _modules.qc < prev    next >
Encoding:
Text File  |  1996-08-19  |  1.9 KB  |  52 lines

  1. /*
  2. **
  3. ** _modules.qc (Modules Code, 1.0)
  4. **
  5. ** Copyright (C) 1996 Johannes Plass
  6. ** 
  7. ** This program is free software; you can redistribute it and/or modify
  8. ** it under the terms of the GNU General Public License as published by
  9. ** the Free Software Foundation; either version 2 of the License, or
  10. ** (at your option) any later version.
  11. ** 
  12. ** This program is distributed in the hope that it will be useful,
  13. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. ** GNU General Public License for more details.
  16. **
  17. ** You should have received a copy of the GNU General Public License
  18. ** along with this program; if not, write to the Free Software
  19. ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. ** 
  21. ** Author:   Johannes Plass (plass@dipmza.physik.uni-mainz.de)
  22. **
  23. */
  24.  
  25. void(entity player) ModulesInitModules =
  26. {
  27.    MessagesInit(player);     //#jp#(Messages)
  28.    MapQueueInit(player);     //#jp#(MapQueue)
  29.    KickSuiciderInit(player); //#jp#(KickSuicider)
  30.    RankInit(player);         //#jp#(Rank)
  31.    ObserverInit(player);     //#jp#(Observer)
  32.    MotdInit(player);         //#jp#(Motd)
  33.    SkinInit(player);         //#jp#(Skin)
  34.    ServerInit(player);       //#jp#(Server)
  35.    PlayerFlagSetFlag(player,PLAYER_IS_INITIALIZED);
  36. };
  37.  
  38. void(entity player) ModulesShowInfo =
  39. {
  40. //                123456789#123456789#123456789#12345678
  41.    sprint(player,"### Server Modules (version 1.1.4)\n\n");
  42.    if (USE_MODULE_MESSAGES)     MessagesInfo(player);     //#jp#(Messages)
  43.    if (USE_MODULE_MAPQUEUE)     MapQueueInfo(player);     //#jp#(MapQueue)
  44.    if (USE_MODULE_SERVER)       ServerInfo(player);       //#jp#(Server)
  45.    if (USE_MODULE_KICKSUICIDER) KickSuiciderInfo(player); //#jp#(KickSuicider)
  46.    if (USE_MODULE_RANK)         RankInfo(player);         //#jp#(Rank)
  47.    if (USE_MODULE_SKIN)         SkinInfo(player);         //#jp#(Skin)
  48.    if (USE_MODULE_OBSERVER)     ObserverInfo(player);     //#jp#(Observer)
  49. };
  50.  
  51.  
  52.