2009-05-14 02:28:26 +02:00
|
|
|
/*
|
|
|
|
* ============================================================================
|
|
|
|
*
|
2008-10-04 22:59:11 +02:00
|
|
|
* Zombie:Reloaded
|
2009-05-14 02:28:26 +02:00
|
|
|
*
|
2009-06-12 05:51:26 +02:00
|
|
|
* File: commands.inc
|
|
|
|
* Type: Core
|
|
|
|
* Description: Console command creation and hooking.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2009 Greyscale, Richard Helgeby
|
|
|
|
*
|
|
|
|
* 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 3 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, see <http://www.gnu.org/licenses/>.
|
2009-05-14 02:28:26 +02:00
|
|
|
*
|
|
|
|
* ============================================================================
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Commands are created/hooked.
|
2008-10-04 22:59:11 +02:00
|
|
|
*/
|
2009-05-14 02:28:26 +02:00
|
|
|
CommandsInit()
|
|
|
|
{
|
|
|
|
// Forward event to modules. (create commands)
|
2009-05-18 06:26:13 +02:00
|
|
|
ConfigOnCommandsCreate();
|
2009-06-07 17:51:37 +02:00
|
|
|
LogOnCommandsCreate();
|
2009-05-21 07:13:51 +02:00
|
|
|
ClassOnCommandsCreate();
|
2009-05-14 02:28:26 +02:00
|
|
|
WeaponsOnCommandsCreate();
|
2009-06-24 23:45:40 +02:00
|
|
|
HitgroupsOnCommandsCreate();
|
2009-06-15 21:43:06 +02:00
|
|
|
InfectOnCommandsCreate();
|
2009-06-17 23:32:46 +02:00
|
|
|
MenuOnCommandsCreate();
|
|
|
|
ZAdminOnCommandsCreate();
|
2009-07-02 08:23:12 +02:00
|
|
|
AntiStickOnCommandsCreate();
|
2009-06-22 06:08:26 +02:00
|
|
|
ZCookiesOnCommandsCreate();
|
2009-06-17 23:32:46 +02:00
|
|
|
ZSpawnOnCommandsCreate();
|
|
|
|
ZTeleOnCommandsCreate();
|
|
|
|
ZHPOnCommandsCreate();
|
2009-05-30 04:17:01 +02:00
|
|
|
VolOnCommandsCreate();
|
2009-05-14 02:28:26 +02:00
|
|
|
|
|
|
|
// Forward event to modules. (hook commands)
|
|
|
|
ClassOnCommandsHook();
|
|
|
|
DamageOnCommandsHook();
|
2009-07-02 08:23:12 +02:00
|
|
|
}
|