From f787db1be5b3cd611ede4db0de948ae28ab43b35 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Mon, 4 Aug 2014 07:12:15 -0500 Subject: [PATCH] Update license headers for plugins and includes. --- plugins/admin.sma | 45 +++-------- plugins/adminchat.sma | 45 +++-------- plugins/admincmd.sma | 45 +++-------- plugins/adminhelp.sma | 45 +++-------- plugins/adminslots.sma | 45 +++-------- plugins/adminvote.sma | 45 +++-------- plugins/antiflood.sma | 45 +++-------- plugins/cmdmenu.sma | 45 +++-------- plugins/cstrike/csstats.sma | 45 +++-------- plugins/cstrike/miscstats.sma | 45 +++-------- plugins/cstrike/restmenu.sma | 45 +++-------- plugins/cstrike/stats_logging.sma | 45 +++-------- plugins/cstrike/statsx.sma | 45 +++-------- plugins/dod/dodstats.sma | 23 ++++-- plugins/dod/plmenu.sma | 45 +++-------- plugins/dod/stats.sma | 44 +++++----- plugins/dod/stats_logging.sma | 19 +++-- plugins/dod/statssounds.sma | 17 +++- plugins/imessage.sma | 45 +++-------- plugins/include/amxconst.inc | 15 ++-- plugins/include/amxmisc.inc | 15 ++-- plugins/include/amxmodx.inc | 15 ++-- plugins/include/amxmodx_version.inc | 15 ++-- plugins/include/cellarray.inc | 9 +++ plugins/include/cellstack.inc | 8 ++ plugins/include/celltrie.inc | 9 +++ plugins/include/csstats.inc | 8 ++ plugins/include/cstrike.inc | 20 +++-- plugins/include/csx.inc | 17 ++-- plugins/include/datapack.inc | 8 ++ plugins/include/dbi.inc | 39 ++++++--- plugins/include/dodconst.inc | 13 +-- plugins/include/dodfun.inc | 17 ++-- plugins/include/dodstats.inc | 17 ++-- plugins/include/dodx.inc | 17 ++-- plugins/include/engine.inc | 20 +++-- plugins/include/engine_const.inc | 18 +++-- plugins/include/engine_stocks.inc | 20 +++-- plugins/include/esf_const.inc | 15 ++-- plugins/include/fakemeta.inc | 18 +++-- plugins/include/fakemeta_const.inc | 18 +++-- plugins/include/fakemeta_stocks.inc | 18 +++-- plugins/include/file.inc | 19 +++-- plugins/include/fun.inc | 18 +++-- plugins/include/geoip.inc | 16 +++- plugins/include/ham_const.inc | 13 +++ plugins/include/hamsandwich.inc | 40 +++------ plugins/include/hlsdk_const.inc | 19 +++-- plugins/include/lang.inc | 18 +++-- plugins/include/message_const.inc | 19 +++-- plugins/include/message_stocks.inc | 19 +++-- plugins/include/messages.inc | 18 +++-- plugins/include/newmenus.inc | 15 ++-- plugins/include/ns.inc | 18 +++-- plugins/include/ns_const.inc | 18 +++-- plugins/include/nvault.inc | 18 +++-- plugins/include/regex.inc | 42 +++------- plugins/include/sockets.inc | 24 +++--- plugins/include/sorting.inc | 28 ++++--- plugins/include/sqlx.inc | 15 +++- plugins/include/string.inc | 19 +++-- plugins/include/tfcconst.inc | 17 ++-- plugins/include/tfcstats.inc | 17 ++-- plugins/include/tfcx.inc | 17 ++-- plugins/include/time.inc | 18 +++-- plugins/include/tsconst.inc | 18 +++-- plugins/include/tsfun.inc | 17 ++-- plugins/include/tsstats.inc | 17 ++-- plugins/include/tsx.inc | 17 ++-- plugins/include/vault.inc | 19 +++-- plugins/include/vector.inc | 18 +++-- plugins/include/xs.inc | 116 +++++++++++---------------- plugins/mapchooser.sma | 45 +++-------- plugins/mapsmenu.sma | 45 +++-------- plugins/menufront.sma | 45 +++-------- plugins/multilingual.sma | 44 +++------- plugins/nextmap.sma | 45 +++-------- plugins/ns/idlekicker.sma | 44 +++------- plugins/ns/mapchooser.sma | 45 +++-------- plugins/ns/nextmap.sma | 45 +++-------- plugins/ns/nscommands.sma | 44 +++------- plugins/ns/plmenu.sma | 45 +++-------- plugins/ns/timeleft.sma | 47 +++-------- plugins/ns/unstuck.sma | 46 +++-------- plugins/pausecfg.sma | 45 +++-------- plugins/plmenu.sma | 45 +++-------- plugins/pluginmenu.sma | 46 +++-------- plugins/scrollmsg.sma | 45 +++-------- plugins/statscfg.sma | 45 +++-------- plugins/telemenu.sma | 45 +++-------- plugins/testsuite/admins_test.sma | 11 ++- plugins/testsuite/arraytest.sma | 9 +++ plugins/testsuite/callfunc_test.sma | 9 +++ plugins/testsuite/datapack_test.sma | 9 +++ plugins/testsuite/fakemeta_tests.sma | 9 +++ plugins/testsuite/fmttest.sma | 9 +++ plugins/testsuite/fwdtest1.sma | 9 +++ plugins/testsuite/fwdtest2.sma | 9 +++ plugins/testsuite/logtest.sma | 9 +++ plugins/testsuite/menutest.sma | 9 +++ plugins/testsuite/native_test.sma | 9 +++ plugins/testsuite/nvault_test.sma | 9 +++ plugins/testsuite/regex_test.sma | 11 ++- plugins/testsuite/sorttest.sma | 9 +++ plugins/testsuite/sqlxtest.sma | 9 +++ plugins/testsuite/stacktest.sma | 9 +++ plugins/testsuite/strbreak.sma | 10 ++- plugins/testsuite/trietest.sma | 9 +++ plugins/testsuite/utf8test.sma | 11 ++- plugins/tfc/plmenu.sma | 45 +++-------- plugins/tfc/stats.sma | 42 ++++++---- plugins/tfc/stats_logging.sma | 45 +++-------- plugins/tfc/statssounds.sma | 17 +++- plugins/tfc/tfcstats.sma | 23 ++++-- plugins/timeleft.sma | 45 +++-------- plugins/ts/stats.sma | 42 ++++++---- plugins/ts/stats_logging.sma | 20 +++-- plugins/ts/statssounds.sma | 17 +++- plugins/ts/tsstats.sma | 25 ++++-- 119 files changed, 1455 insertions(+), 1689 deletions(-) diff --git a/plugins/admin.sma b/plugins/admin.sma index 7bfb2362..cb17beda 100755 --- a/plugins/admin.sma +++ b/plugins/admin.sma @@ -1,36 +1,15 @@ -/* AMX Mod X script. -* Admin Base Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Admin Base Plugin +// // Uncomment for SQL version // #define USING_SQL diff --git a/plugins/adminchat.sma b/plugins/adminchat.sma index 14198996..dfdc9eef 100755 --- a/plugins/adminchat.sma +++ b/plugins/adminchat.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Admin Chat Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Admin Chat Plugin +// #include #include diff --git a/plugins/admincmd.sma b/plugins/admincmd.sma index b233b0d3..3b2a958e 100755 --- a/plugins/admincmd.sma +++ b/plugins/admincmd.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Admin Commands Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Admin Commands Plugin +// #include #include diff --git a/plugins/adminhelp.sma b/plugins/adminhelp.sma index 0223c144..6d1caf91 100755 --- a/plugins/adminhelp.sma +++ b/plugins/adminhelp.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Admin Help Plugin -* -* by the AMX Mod X Development Team -* originally developed by tcquest78 -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Admin Help Plugin +// #include diff --git a/plugins/adminslots.sma b/plugins/adminslots.sma index 83ce5f27..90eef653 100755 --- a/plugins/adminslots.sma +++ b/plugins/adminslots.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Slots Reservation Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Slots Reservation Plugin +// #include #include diff --git a/plugins/adminvote.sma b/plugins/adminvote.sma index 11633b5b..02917399 100755 --- a/plugins/adminvote.sma +++ b/plugins/adminvote.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Admin Votes Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Admin Votes Plugin +// #include #include diff --git a/plugins/antiflood.sma b/plugins/antiflood.sma index 6d454fc0..2065d3f4 100755 --- a/plugins/antiflood.sma +++ b/plugins/antiflood.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Anti Flood Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Anti Flood Plugin +// #include diff --git a/plugins/cmdmenu.sma b/plugins/cmdmenu.sma index ee77295e..8ec0570d 100755 --- a/plugins/cmdmenu.sma +++ b/plugins/cmdmenu.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Commands Menu Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Commands Menu Plugin +// #include #include diff --git a/plugins/cstrike/csstats.sma b/plugins/cstrike/csstats.sma index d4974488..5c5cf4f2 100755 --- a/plugins/cstrike/csstats.sma +++ b/plugins/cstrike/csstats.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Rank Calculation -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Rank Calculation +// /* File location: $moddir/addons/amxmodx/data/csstats.amxx */ diff --git a/plugins/cstrike/miscstats.sma b/plugins/cstrike/miscstats.sma index 2621d790..7f7f39da 100755 --- a/plugins/cstrike/miscstats.sma +++ b/plugins/cstrike/miscstats.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Misc. Stats Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Misc. Stats Plugin +// #include #include diff --git a/plugins/cstrike/restmenu.sma b/plugins/cstrike/restmenu.sma index e1197f13..17980c87 100755 --- a/plugins/cstrike/restmenu.sma +++ b/plugins/cstrike/restmenu.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Restrict Weapons Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Restrict Weapons Plugin +// // Uncomment if you want to have seperate settings for each map //#define MAPSETTINGS diff --git a/plugins/cstrike/stats_logging.sma b/plugins/cstrike/stats_logging.sma index 54f241d6..ddfcf8f2 100755 --- a/plugins/cstrike/stats_logging.sma +++ b/plugins/cstrike/stats_logging.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Stats Logging Plugin -* -* by the AMX Mod X Development Team -* originally developed by JustinHoMi -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Stats Logging Plugin +// #include #include diff --git a/plugins/cstrike/statsx.sma b/plugins/cstrike/statsx.sma index 30c0a209..f83ab78f 100755 --- a/plugins/cstrike/statsx.sma +++ b/plugins/cstrike/statsx.sma @@ -1,36 +1,15 @@ - /* AMX Mod X -* StatsX Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// StatsX Plugin +// //-------------------------------- #include diff --git a/plugins/dod/dodstats.sma b/plugins/dod/dodstats.sma index a6997a58..ebc94f21 100755 --- a/plugins/dod/dodstats.sma +++ b/plugins/dod/dodstats.sma @@ -1,9 +1,18 @@ -/* Get Score for DoD STATS. - * - * (c) 2004, SidLuke - * This file is provided as is (no warranties). - * - * Function calculates position in rank. +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// Copyright (C) 2004 SidLuke. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// DoD Stats Rank Calculation +// + +/* Function calculates position in rank. * * Stats: * 0 - kills @@ -30,4 +39,4 @@ public get_score(stats[9],body[8]){ DEATHS = 1 return (KILLS-DEATHS-TK)*KILLS/DEATHS -} \ No newline at end of file +} diff --git a/plugins/dod/plmenu.sma b/plugins/dod/plmenu.sma index 31107e8e..1bd3f420 100755 --- a/plugins/dod/plmenu.sma +++ b/plugins/dod/plmenu.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Players Menu Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Players Menu Plugin +// #include #include diff --git a/plugins/dod/stats.sma b/plugins/dod/stats.sma index 117e20d6..43b77717 100755 --- a/plugins/dod/stats.sma +++ b/plugins/dod/stats.sma @@ -1,20 +1,28 @@ -/* AMX Mod script. -* -* (c) 2004, SidLuke -* This file is provided as is (no warranties). -* -* Plugin works with Stats Settings Plugin. Just run both of them. -* By amx_statscfg command (from Stats Settings Plugin) -* you will be able to set all settings and save them to a file. -* -* Example of usage for some options: -* amx_statscfg on SayTop15 -* amx_statscfg on SayRank -* -* Accept able are also parts of name: -* amx_statscfg off say -* amx_statscfg on End -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// Copyright (C) 2004 SidLuke. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// DoD Stats Plugin +// + +// Plugin works with Stats Settings Plugin. Just run both of them. +// By amx_statscfg command (from Stats Settings Plugin) +// you will be able to set all settings and save them to a file. +// +// Example usage for some options: +// amx_statscfg on SayTop15 +// amx_statscfg on SayRank +// +// Acceptable are also parts of name: +// amx_statscfg off say +// amx_statscfg on End #include #include @@ -1008,4 +1016,4 @@ getTop15_steam(id){ } pos += format(g_Buffer[pos],2047-pos,"") -} \ No newline at end of file +} diff --git a/plugins/dod/stats_logging.sma b/plugins/dod/stats_logging.sma index 589dd37a..c99fd489 100755 --- a/plugins/dod/stats_logging.sma +++ b/plugins/dod/stats_logging.sma @@ -1,9 +1,16 @@ -/* AMX Mod script. (Feb 4th, 2003) - * - * Stats Logging - * by JustinHoMi - * - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// Copyright (C) 2003 JustinHoMi. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// DoD Stats Logging Plugin +// #include #include diff --git a/plugins/dod/statssounds.sma b/plugins/dod/statssounds.sma index 68127b3f..f9eb5adc 100755 --- a/plugins/dod/statssounds.sma +++ b/plugins/dod/statssounds.sma @@ -1,6 +1,15 @@ -/* -* Plugin for sounds precache -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// DoD Sounds Precache Plugin +// #include @@ -26,4 +35,4 @@ public plugin_precache(){ public plugin_init() { register_plugin("DoD Sounds Precache",AMXX_VERSION_STR,"AMXX Dev Team") -} \ No newline at end of file +} diff --git a/plugins/imessage.sma b/plugins/imessage.sma index 0ef2334e..9a0a37ff 100755 --- a/plugins/imessage.sma +++ b/plugins/imessage.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Info. Messages Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Info. Messages Plugin +// #include #include diff --git a/plugins/include/amxconst.inc b/plugins/include/amxconst.inc index 9528a8ff..e6c3fd59 100755 --- a/plugins/include/amxconst.inc +++ b/plugins/include/amxconst.inc @@ -1,10 +1,11 @@ -/* AMX Mod X constants -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license #if defined _amxconst_included #endinput diff --git a/plugins/include/amxmisc.inc b/plugins/include/amxmisc.inc index e57c9188..ccd7a511 100755 --- a/plugins/include/amxmisc.inc +++ b/plugins/include/amxmisc.inc @@ -1,10 +1,11 @@ -/* AMX Mod X misc. -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license #if defined _amxmisc_included #endinput diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index 6c11fddd..36503ce0 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -1,10 +1,11 @@ -/* AMX Mod X functions -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license #if defined _amxmodx_included #endinput diff --git a/plugins/include/amxmodx_version.inc b/plugins/include/amxmodx_version.inc index 0873513c..faba7062 100644 --- a/plugins/include/amxmodx_version.inc +++ b/plugins/include/amxmodx_version.inc @@ -1,10 +1,11 @@ -/* AMX Mod X constants -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license #if defined _amxmodx_version_included #endinput diff --git a/plugins/include/cellarray.inc b/plugins/include/cellarray.inc index 53466aab..a8fbafb4 100644 --- a/plugins/include/cellarray.inc +++ b/plugins/include/cellarray.inc @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #if defined _cellarray_included #endinput #endif diff --git a/plugins/include/cellstack.inc b/plugins/include/cellstack.inc index ad5c083a..81043d76 100644 --- a/plugins/include/cellstack.inc +++ b/plugins/include/cellstack.inc @@ -1,3 +1,11 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license #if defined _cellstack_included #endinput diff --git a/plugins/include/celltrie.inc b/plugins/include/celltrie.inc index 355fb913..9a05a4b2 100644 --- a/plugins/include/celltrie.inc +++ b/plugins/include/celltrie.inc @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #if defined _celltrie_included #endinput #endif diff --git a/plugins/include/csstats.inc b/plugins/include/csstats.inc index 7755dcf2..eb8dd300 100755 --- a/plugins/include/csstats.inc +++ b/plugins/include/csstats.inc @@ -1,3 +1,11 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license #if defined _csstats_included #endinput diff --git a/plugins/include/cstrike.inc b/plugins/include/cstrike.inc index 294eb31e..6c404eda 100755 --- a/plugins/include/cstrike.inc +++ b/plugins/include/cstrike.inc @@ -1,9 +1,15 @@ -/* Counter-Strike functions -* -* by the AMX Mod X Development Team -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Counter-Strike Functions +// #if defined _cstrike_included #endinput @@ -415,4 +421,4 @@ forward CS_OnBuyAttempt(index, item); * @param index Player index. * @param item Item index, see CSI_* constants. */ -forward CS_OnBuy(index, item); \ No newline at end of file +forward CS_OnBuy(index, item); diff --git a/plugins/include/csx.inc b/plugins/include/csx.inc index 365a39f4..3616d178 100755 --- a/plugins/include/csx.inc +++ b/plugins/include/csx.inc @@ -1,8 +1,15 @@ -/* CSX functions - * - * (c) 2004, SidLuke - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// CSX Functions +// #if defined _csx_included #endinput diff --git a/plugins/include/datapack.inc b/plugins/include/datapack.inc index 3dd75547..80d12648 100644 --- a/plugins/include/datapack.inc +++ b/plugins/include/datapack.inc @@ -1,3 +1,11 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license #if defined _datapack_included #endinput diff --git a/plugins/include/dbi.inc b/plugins/include/dbi.inc index 82c24d84..ba371483 100755 --- a/plugins/include/dbi.inc +++ b/plugins/include/dbi.inc @@ -1,16 +1,29 @@ -/* SQL Database API - * By the AMX Mod X Development Team - * Notes - Read the comments! Make sure your plugins use - * nice ANSI SQL and don't use database column names like "key" - * otherwise this API will be a nightmare - * Never do error checking with the not operator! This is bad: - * if (!dbi_query()) - * You should do: - * ret = dbi_query() - * if (ret < 0) - * This is because DBI functions can and will return negative numbers - * Negative numbers evaluate to "true" in AMX. - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// SQL Database API +// + +// +// Notes - Read the comments! Make sure your plugins use +// nice ANSI SQL and don't use database column names like "key" +// otherwise this API will be a nightmare +// +// Never do error checking with the not operator! This is bad: +// if (!dbi_query()) +// You should do: +// ret = dbi_query() +// if (ret < 0) +// This is because DBI functions can and will return negative numbers +// Negative numbers evaluate to "true" in AMX. +// #if defined _dbi_included #endinput diff --git a/plugins/include/dodconst.inc b/plugins/include/dodconst.inc index 40711096..ca53e802 100755 --- a/plugins/include/dodconst.inc +++ b/plugins/include/dodconst.inc @@ -1,8 +1,11 @@ -/* DoDX functions - * - * (c) 2004, SidLuke - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license #if defined _dodconst_included #endinput diff --git a/plugins/include/dodfun.inc b/plugins/include/dodfun.inc index ea8f63da..5add00ed 100755 --- a/plugins/include/dodfun.inc +++ b/plugins/include/dodfun.inc @@ -1,8 +1,15 @@ -/* DoDFun functions - * - * (c) 2004-2005, SidLuke - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// DoD Fun Functions +// #if defined _dodfun_included #endinput diff --git a/plugins/include/dodstats.inc b/plugins/include/dodstats.inc index cf3d072b..a250a2ba 100755 --- a/plugins/include/dodstats.inc +++ b/plugins/include/dodstats.inc @@ -1,8 +1,15 @@ -/* DoDX Stats functions - * - * (c) 2004, SidLuke - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// DODX Stats Functions +// #if defined _dodstats_included #endinput diff --git a/plugins/include/dodx.inc b/plugins/include/dodx.inc index 99710b31..09396899 100755 --- a/plugins/include/dodx.inc +++ b/plugins/include/dodx.inc @@ -1,8 +1,15 @@ -/* DoDX functions - * - * (c) 2004, SidLuke - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// DODX Functions +// #if defined _dodx_included #endinput diff --git a/plugins/include/engine.inc b/plugins/include/engine.inc index ae20be03..56551716 100755 --- a/plugins/include/engine.inc +++ b/plugins/include/engine.inc @@ -1,10 +1,16 @@ -/* Engine functions -* -* by the AMX Mod X Development Team -* thanks to Vexd and mahnsawce -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// Special thanks to Vexd and mahnsawce. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Engine Functions +// #if defined _engine_included #endinput diff --git a/plugins/include/engine_const.inc b/plugins/include/engine_const.inc index c4414a64..9a88dec6 100755 --- a/plugins/include/engine_const.inc +++ b/plugins/include/engine_const.inc @@ -1,9 +1,15 @@ -/* Engine constants -* -* by the AMX Mod X Development Team -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Engine Constants +// #if defined _engine_const_included #endinput diff --git a/plugins/include/engine_stocks.inc b/plugins/include/engine_stocks.inc index 6d80700c..638905e8 100755 --- a/plugins/include/engine_stocks.inc +++ b/plugins/include/engine_stocks.inc @@ -1,10 +1,16 @@ -/* Engine stocks -* -* by the AMX Mod X Development Team -* thanks to AssKicR, Freecode and T(+)rget -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// Special thanks to AssKicR, Freecode, and T(+)rget. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Engine Stocks +// #if defined _engine_stocks_included #endinput diff --git a/plugins/include/esf_const.inc b/plugins/include/esf_const.inc index 91b8191d..0b2615b7 100755 --- a/plugins/include/esf_const.inc +++ b/plugins/include/esf_const.inc @@ -1,9 +1,12 @@ -/** - * (C)2004-2005 AMX Mod X Development Team - * based on the stocks and information provided by LynX - * organized and released by BAILOPAN - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// Based on stocks and information provided by LynX. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license #if defined _esfconst_included #endinput diff --git a/plugins/include/fakemeta.inc b/plugins/include/fakemeta.inc index d2460b46..b401616c 100755 --- a/plugins/include/fakemeta.inc +++ b/plugins/include/fakemeta.inc @@ -1,9 +1,15 @@ -/* FakeMeta functions -* -* by the AMX Mod X Development Team -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Fakemeta Functions +// #if defined _fakemeta_included #endinput diff --git a/plugins/include/fakemeta_const.inc b/plugins/include/fakemeta_const.inc index 851bcb80..1fc69162 100755 --- a/plugins/include/fakemeta_const.inc +++ b/plugins/include/fakemeta_const.inc @@ -1,9 +1,15 @@ -/* FakeMeta constants -* -* by the AMX Mod X Development Team -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Fakemeta Constants +// #if defined _fakemeta_const_included #endinput diff --git a/plugins/include/fakemeta_stocks.inc b/plugins/include/fakemeta_stocks.inc index 7a7a6bb0..72ee36d5 100755 --- a/plugins/include/fakemeta_stocks.inc +++ b/plugins/include/fakemeta_stocks.inc @@ -1,9 +1,15 @@ -/* FakeMeta stocks -* -* by the AMX Mod X Development Team -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Fakemeta Stocks +// #if !defined _fakemeta_included #include diff --git a/plugins/include/file.inc b/plugins/include/file.inc index b983e7bb..cd509a68 100755 --- a/plugins/include/file.inc +++ b/plugins/include/file.inc @@ -1,10 +1,15 @@ -/* Files functions -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// File Functions +// #if defined _file_included #endinput diff --git a/plugins/include/fun.inc b/plugins/include/fun.inc index 3dd9f750..16d3a457 100755 --- a/plugins/include/fun.inc +++ b/plugins/include/fun.inc @@ -1,9 +1,15 @@ -/* Fun functions -* -* by the AMX Mod X Development Team -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Fun Functions +// #if defined _fun_included #endinput diff --git a/plugins/include/geoip.inc b/plugins/include/geoip.inc index 8a253949..df6343eb 100755 --- a/plugins/include/geoip.inc +++ b/plugins/include/geoip.inc @@ -1,7 +1,15 @@ -/* GeoIP module functions for AMX Mod X - by David "BAILOPAN" Anderson - (C)Copyrighted under the GNU General Public License, Version 2 - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// GeoIP Module Functions +// #if defined geoip_included #endinput diff --git a/plugins/include/ham_const.inc b/plugins/include/ham_const.inc index ac7f5167..f99699b3 100644 --- a/plugins/include/ham_const.inc +++ b/plugins/include/ham_const.inc @@ -1,3 +1,16 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Ham Sandwich Constants +// + #if defined _ham_const_included #endinput #endif diff --git a/plugins/include/hamsandwich.inc b/plugins/include/hamsandwich.inc index 97ff1567..9718cc36 100644 --- a/plugins/include/hamsandwich.inc +++ b/plugins/include/hamsandwich.inc @@ -1,31 +1,15 @@ -/* Ham Sandwich - * Copyright 2007-2014 - * By the AMX Mod X Development Team - * - * Ham Sandwich 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. - * - * Ham Sandwich 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 Ham Sandwich; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * In addition, as a special exception, the author gives permission to - * link the code of Ham Sandwich with the Half-Life Game Engine ("HL - * Engine") and Modified Game Libraries ("MODs") developed by Valve, - * L.L.C ("Valve"). You must obey the GNU General Public License in all - * respects for all of the code used other than the HL Engine and MODs - * from Valve. If you modify this file, you may extend this exception - * to your version of the file, but you are not obligated to do so. If - * you do not wish to do so, delete this exception statement from your - * version. - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Ham Sandwich Functions +// /** * Ham Sandwich is a module that is used to hook and call virtual functions of diff --git a/plugins/include/hlsdk_const.inc b/plugins/include/hlsdk_const.inc index 0d96958f..1c1b0a76 100644 --- a/plugins/include/hlsdk_const.inc +++ b/plugins/include/hlsdk_const.inc @@ -1,10 +1,15 @@ -/* Half-Life Software Development Kit constants -* -* by the AMX Mod X Development Team -* -* This file is provided as is (no warranties). -* -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Half-Life SDK Constants +// #if defined _hlsdk_const_included #endinput diff --git a/plugins/include/lang.inc b/plugins/include/lang.inc index ba086352..e037ae3b 100755 --- a/plugins/include/lang.inc +++ b/plugins/include/lang.inc @@ -1,9 +1,15 @@ -/* Language functions -* -* by the AMX Mod X Development Team -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Language Functions +// #if defined _lang_included #endinput diff --git a/plugins/include/message_const.inc b/plugins/include/message_const.inc index 3624bd4a..199f996a 100644 --- a/plugins/include/message_const.inc +++ b/plugins/include/message_const.inc @@ -1,10 +1,15 @@ -/* Message constants -* -* by the AMX Mod X Development Team -* -* This file is provided as is (no warranties). -* -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Message Constants +// #if defined _message_const_included #endinput diff --git a/plugins/include/message_stocks.inc b/plugins/include/message_stocks.inc index 6c39e33f..1817ed98 100644 --- a/plugins/include/message_stocks.inc +++ b/plugins/include/message_stocks.inc @@ -1,10 +1,15 @@ -/* Message Stocks -* -* by the AMX Mod X Development Team -* -* This file is provided as is (no warranties). -* -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Message Stocks +// #if defined _message_stocks_included #endinput diff --git a/plugins/include/messages.inc b/plugins/include/messages.inc index df49b8f2..97ed18d0 100644 --- a/plugins/include/messages.inc +++ b/plugins/include/messages.inc @@ -1,9 +1,15 @@ -/* Messaging functions (now part of Core) - * - * by the AMX Mod X Development Team - * - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Message Functions +// #if defined _coremsg_included #endinput diff --git a/plugins/include/newmenus.inc b/plugins/include/newmenus.inc index b9345b41..9ebf7652 100644 --- a/plugins/include/newmenus.inc +++ b/plugins/include/newmenus.inc @@ -1,10 +1,11 @@ -/* AMX Mod X constants -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license #if defined _newmenus_included #endinput diff --git a/plugins/include/ns.inc b/plugins/include/ns.inc index fbcfa025..7ed0e13a 100755 --- a/plugins/include/ns.inc +++ b/plugins/include/ns.inc @@ -1,9 +1,15 @@ -/* NS module functions - * - * by the AMX Mod X Development Team - * - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Natural Selection Module Functions +// #if defined NS_INC #endinput diff --git a/plugins/include/ns_const.inc b/plugins/include/ns_const.inc index d0182501..b1eb9458 100755 --- a/plugins/include/ns_const.inc +++ b/plugins/include/ns_const.inc @@ -1,11 +1,15 @@ -/* NS module constants - * - * by the AMX Mod X Development Team - * Most definitions graciously provided by Flayra - * - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license +// +// Natural Selection Module Constants +// #if defined NS_CONST_INC #endinput diff --git a/plugins/include/nvault.inc b/plugins/include/nvault.inc index 33736f7e..60db914a 100755 --- a/plugins/include/nvault.inc +++ b/plugins/include/nvault.inc @@ -1,9 +1,15 @@ -/* nVault functions -* -* by the AMX Mod X Development Team -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// NVault Functions +// #if defined _nvault_included #endinput diff --git a/plugins/include/regex.inc b/plugins/include/regex.inc index 76ad5bb8..596e9111 100755 --- a/plugins/include/regex.inc +++ b/plugins/include/regex.inc @@ -1,31 +1,15 @@ -/** - * Regular Expressions API - * By the AMX Mod X Development Team - * - * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * In addition, as a special exception, the author gives permission to - * link the code of this program with the Half-Life Game Engine ("HL - * Engine") and Modified Game Libraries ("MODs") developed by Valve, - * L.L.C ("Valve"). You must obey the GNU General Public License in all - * respects for all of the code used other than the HL Engine and MODs - * from Valve. If you modify this file, you may extend this exception - * to your version of the file, but you are not obligated to do so. If - * you do not wish to do so, delete this exception statement from your - * version. - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Regular Expressions API +// #if defined _regex_included #endinput @@ -369,4 +353,4 @@ stock regex_match_simple(const str[], const pattern[], flags = 0, error[]= "", m * 0 = No match. * >1 = Number of matches. */ -native regex_replace(Regex:pattern, string[], maxLen, const replace[], flags = REGEX_FORMAT_DEFAULT, &errcode = 0); \ No newline at end of file +native regex_replace(Regex:pattern, string[], maxLen, const replace[], flags = REGEX_FORMAT_DEFAULT, &errcode = 0); diff --git a/plugins/include/sockets.inc b/plugins/include/sockets.inc index 7eda92b0..562d9fae 100755 --- a/plugins/include/sockets.inc +++ b/plugins/include/sockets.inc @@ -1,12 +1,18 @@ -/* - * - * AMX Mod X Module - * Basic Socket Functions - * - * Codebase from Ivan, -g-s-ivan@web.de (AMX 0.9.3) - * Modification by Olaf Reusch, kenterfie@hlsw.de (AMXX 0.16, AMX 0.96) - * - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// Codebase from Ivan, -g-s-ivan@web.de (AMX 0.9.3) +// Modification by Olaf Reusch, kenterfie@hlsw.de (AMXX 0.16, AMX 0.96) +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Socket Functions +// #if defined _socket_included #endinput diff --git a/plugins/include/sorting.inc b/plugins/include/sorting.inc index e111a7b2..b2b86d41 100644 --- a/plugins/include/sorting.inc +++ b/plugins/include/sorting.inc @@ -1,13 +1,21 @@ -/* Sorting functions. - * - * by the AMX Mod X Development Team - * - * This file is provided as is (no warranties). - * - * All sort functions are based off the qsort() function from the - * C standard library, which uses the Quick Sort algorithm. - * For more info, see: http://linux.wku.edu/~lamonml/algor/sort/sort.html - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Sorting Functions +// + +// +// All sort functions are based off the qsort() function from the +// C standard library, which uses the Quick Sort algorithm. +// For more info, see: http://linux.wku.edu/~lamonml/algor/sort/sort.html +// #if defined _sorting_included #endinput diff --git a/plugins/include/sqlx.inc b/plugins/include/sqlx.inc index a95827e2..5641f9f4 100644 --- a/plugins/include/sqlx.inc +++ b/plugins/include/sqlx.inc @@ -1,6 +1,15 @@ -/** - * SQLX - Newer version of SQL stuff - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// SQLX - Newer SQL Database API +// #if defined _sqlx_included #endinput diff --git a/plugins/include/string.inc b/plugins/include/string.inc index 96adf466..adb39dfe 100755 --- a/plugins/include/string.inc +++ b/plugins/include/string.inc @@ -1,10 +1,15 @@ -/* Strings manipulation -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// String Manipulation +// #if defined _string_included #endinput diff --git a/plugins/include/tfcconst.inc b/plugins/include/tfcconst.inc index c9ca3f31..7c41a056 100755 --- a/plugins/include/tfcconst.inc +++ b/plugins/include/tfcconst.inc @@ -1,8 +1,15 @@ -/* TFCX const - * - * (c) 2004, SidLuke - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TFCX Constants +// #if defined _tfcconst_included #endinput diff --git a/plugins/include/tfcstats.inc b/plugins/include/tfcstats.inc index eb118689..9417a0f6 100755 --- a/plugins/include/tfcstats.inc +++ b/plugins/include/tfcstats.inc @@ -1,8 +1,15 @@ -/* TFCX Stats functions - * - * (c) 2004, SidLuke - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TFCX Stats Functions +// #if defined _tfcstats_included #endinput diff --git a/plugins/include/tfcx.inc b/plugins/include/tfcx.inc index 73bff77c..0ca17895 100755 --- a/plugins/include/tfcx.inc +++ b/plugins/include/tfcx.inc @@ -1,8 +1,15 @@ -/* tfcX functions - * - * (c) 2004, SidLuke - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TFCX Functions +// #if defined _tfcx_included #endinput diff --git a/plugins/include/time.inc b/plugins/include/time.inc index b76a275d..a70cf9d8 100644 --- a/plugins/include/time.inc +++ b/plugins/include/time.inc @@ -1,9 +1,15 @@ -/* Time specific functions -* -* by the AMX Mod X Development Team -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Time Specific Functions +// #if defined _time_included #endinput diff --git a/plugins/include/tsconst.inc b/plugins/include/tsconst.inc index a49ec5f1..b41a2c55 100755 --- a/plugins/include/tsconst.inc +++ b/plugins/include/tsconst.inc @@ -1,8 +1,16 @@ -/* TSFUN constants - * - * (c) 2005, Suzuka - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// Copyright (C) 2005 Suzuka. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TSFUN Constants +// #if defined _tsconst_included #endinput diff --git a/plugins/include/tsfun.inc b/plugins/include/tsfun.inc index 623df22a..d0192412 100755 --- a/plugins/include/tsfun.inc +++ b/plugins/include/tsfun.inc @@ -1,8 +1,15 @@ -/* TSFUN - * - * (c) 2005-2006, AMX Mod X Dev Team - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TSFUN Functions +// #if defined _tsxfun_included #endinput diff --git a/plugins/include/tsstats.inc b/plugins/include/tsstats.inc index 7ec543f9..4b43a784 100755 --- a/plugins/include/tsstats.inc +++ b/plugins/include/tsstats.inc @@ -1,8 +1,15 @@ -/* TSXMod Stats functions - * - * (c) 2004, SidLuke - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TSX Stats Functions +// #if defined _tsstats_included #endinput diff --git a/plugins/include/tsx.inc b/plugins/include/tsx.inc index 222b227a..4e1b3c12 100755 --- a/plugins/include/tsx.inc +++ b/plugins/include/tsx.inc @@ -1,8 +1,15 @@ -/* TSXMod functions - * - * (c) 2004, SidLuke - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TSX Functions +// #if defined _tsx_included #endinput diff --git a/plugins/include/vault.inc b/plugins/include/vault.inc index 43a915cd..b38ac4c6 100755 --- a/plugins/include/vault.inc +++ b/plugins/include/vault.inc @@ -1,10 +1,15 @@ -/* Vault functions -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is provided as is (no warranties). -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Vault Functions +// #if defined _vault_included #endinput diff --git a/plugins/include/vector.inc b/plugins/include/vector.inc index 39ba89b8..e30b52dd 100644 --- a/plugins/include/vector.inc +++ b/plugins/include/vector.inc @@ -1,9 +1,15 @@ -/* Vector functions (now part of Core) - * - * by the AMX Mod X Development Team - * - * This file is provided as is (no warranties). - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Vector Functions +// #if defined _corevector_included #endinput diff --git a/plugins/include/xs.inc b/plugins/include/xs.inc index 12594c5e..a515e80d 100755 --- a/plugins/include/xs.inc +++ b/plugins/include/xs.inc @@ -1,70 +1,52 @@ -/* XS Library -* for AMX and AMXX -* -* Copyright (C) 2004 Pavol "PM" Marko -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -* -* Version 0.1 -* -* -* MACROS THAT YOU CAN DEFINE BEFORE INCLUDING XS.INC: -* XS_FLEQ_TOLERANCE: -* Tolerance that is used for XS_FLEQ float nearly-equal comparisions -* DEFAULT: 0.000005 -* XS_DEBUG -* Turn debug logging on -* DEFAULT: 0 -* XS_LOGBUFFER_SIZE -* Buffer size for logging -* DEFAULT: 512 -* XS_TASK_MAXPARAMS -* Maximal parameter count for managed tasks -* DEFAULT: 8 -* XS_TASK_MAXPARAMSIZE -* Maximal size of string parameter for tasks -* Has to be power of 2 and has to be >= 8 -* DEFAULT: 512 -* XS_TASK_MANAGEDIDS -* Number of managed IDs for tasks. -* DEFAULT: 2048 -* XS_REPLACEBUF_SIZE -* DEFAULT: 3072 -* -* -* NOTES: -* On AMX, VexdUM is required for some math functions -* -* xs__ / XS__ (2 underscores) stuff is meant to be intern -* -* untested: never tested -* half-tested: succesfully used in other applications; not extensively tested in xs though -* tested: fully tested -* -* If you have any useful functions / ideas for functions, please tell me. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// Copyright (C) 2004 Pavol "PM" Marko +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// XS Library +// Version 0.1 +// +// MACROS THAT YOU CAN DEFINE BEFORE INCLUDING XS.INC: +// XS_FLEQ_TOLERANCE: +// Tolerance that is used for XS_FLEQ float nearly-equal comparisions +// DEFAULT: 0.000005 +// XS_DEBUG +// Turn debug logging on +// DEFAULT: 0 +// XS_LOGBUFFER_SIZE +// Buffer size for logging +// DEFAULT: 512 +// XS_TASK_MAXPARAMS +// Maximal parameter count for managed tasks +// DEFAULT: 8 +// XS_TASK_MAXPARAMSIZE +// Maximal size of string parameter for tasks +// Has to be power of 2 and has to be >= 8 +// DEFAULT: 512 +// XS_TASK_MANAGEDIDS +// Number of managed IDs for tasks. +// DEFAULT: 2048 +// XS_REPLACEBUF_SIZE +// DEFAULT: 3072 +// +// +// NOTES: +// On AMX, VexdUM is required for some math functions +// +// xs__ / XS__ (2 underscores) stuff is meant to be intern +// +// untested: never tested +// half-tested: succesfully used in other applications; not extensively tested in xs though +// tested: fully tested +// +// If you have any useful functions / ideas for functions, please tell me. +// #if defined _xs_included #endinput diff --git a/plugins/mapchooser.sma b/plugins/mapchooser.sma index 4d3116d2..9706f30a 100755 --- a/plugins/mapchooser.sma +++ b/plugins/mapchooser.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Nextmap Chooser Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Nextmap Chooser Plugin +// #include #include diff --git a/plugins/mapsmenu.sma b/plugins/mapsmenu.sma index b07ad7bc..e7fc3bdf 100755 --- a/plugins/mapsmenu.sma +++ b/plugins/mapsmenu.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Maps Menu Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Maps Menu Plugin +// #include #include diff --git a/plugins/menufront.sma b/plugins/menufront.sma index 1a4eb3bc..4ef6fdab 100755 --- a/plugins/menufront.sma +++ b/plugins/menufront.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Menus Front-End Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Menus Front-End Plugin +// #include #include diff --git a/plugins/multilingual.sma b/plugins/multilingual.sma index fe283334..6bfb764d 100755 --- a/plugins/multilingual.sma +++ b/plugins/multilingual.sma @@ -1,35 +1,15 @@ -/* AMX Mod X script. -* Multilingual System Plugin -* -* by the AMX Mod X Development Team -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Multilingual System Plugin +// #include #include diff --git a/plugins/nextmap.sma b/plugins/nextmap.sma index 4af491fa..386884a5 100755 --- a/plugins/nextmap.sma +++ b/plugins/nextmap.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* NextMap Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// NextMap Plugin +// #include diff --git a/plugins/ns/idlekicker.sma b/plugins/ns/idlekicker.sma index f7f6a72f..ba67efb4 100755 --- a/plugins/ns/idlekicker.sma +++ b/plugins/ns/idlekicker.sma @@ -1,35 +1,15 @@ -/* AMX Mod X -* Idle Player Remover -* -* by the AMX Mod X Development Team -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Idle Player Remover Plugin +// #include #include diff --git a/plugins/ns/mapchooser.sma b/plugins/ns/mapchooser.sma index f1ea9d22..ae0e4767 100755 --- a/plugins/ns/mapchooser.sma +++ b/plugins/ns/mapchooser.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Nextmap Chooser Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Nextmap Chooser Plugin +// #include #include diff --git a/plugins/ns/nextmap.sma b/plugins/ns/nextmap.sma index 3b2e80ed..4bbb810b 100755 --- a/plugins/ns/nextmap.sma +++ b/plugins/ns/nextmap.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Natural-Selection NextMap Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Natural Selection NextMap Plugin +// enum mapdata { NAME[32], diff --git a/plugins/ns/nscommands.sma b/plugins/ns/nscommands.sma index e79a9ae3..26367967 100755 --- a/plugins/ns/nscommands.sma +++ b/plugins/ns/nscommands.sma @@ -1,35 +1,15 @@ -/* AMX Mod X -* Natural-Selection Admin Commands Plugin -* -* by the AMX Mod X Development Team -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Natural Selection Admin Commands Plugin +// #include #include diff --git a/plugins/ns/plmenu.sma b/plugins/ns/plmenu.sma index 1dab911c..6663ad80 100644 --- a/plugins/ns/plmenu.sma +++ b/plugins/ns/plmenu.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Players Menu Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Players Menu Plugin +// #include #include diff --git a/plugins/ns/timeleft.sma b/plugins/ns/timeleft.sma index 0aa59e66..e5196ce4 100755 --- a/plugins/ns/timeleft.sma +++ b/plugins/ns/timeleft.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* TimeLeft Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TimeLeft Plugin +// #include @@ -248,4 +227,4 @@ public roundChange() { getCombatTimeLeft() { new combatTime = floatround( (get_cvar_float("mp_combattime") * 60) - (get_gametime() - g_roundStartTime) ) return (combatTime < 0) ? 0 : combatTime -} \ No newline at end of file +} diff --git a/plugins/ns/unstuck.sma b/plugins/ns/unstuck.sma index c97fc038..d5121885 100755 --- a/plugins/ns/unstuck.sma +++ b/plugins/ns/unstuck.sma @@ -1,35 +1,15 @@ -/* AMX Mod X -* UnStuck Plugin -* -* by the AMX Mod X Development Team -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// UnStuck Plugin +// #include #include @@ -89,4 +69,4 @@ public unStuck(id) } } return PLUGIN_CONTINUE; -} \ No newline at end of file +} diff --git a/plugins/pausecfg.sma b/plugins/pausecfg.sma index 88a25aab..43897a8b 100755 --- a/plugins/pausecfg.sma +++ b/plugins/pausecfg.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Pause Plugins Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Pause Plugins Plugin +// #include #include diff --git a/plugins/plmenu.sma b/plugins/plmenu.sma index af3ec272..1f19d240 100755 --- a/plugins/plmenu.sma +++ b/plugins/plmenu.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Players Menu Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Players Menu Plugin +// #include #include diff --git a/plugins/pluginmenu.sma b/plugins/pluginmenu.sma index 8ae46965..8913a23c 100644 --- a/plugins/pluginmenu.sma +++ b/plugins/pluginmenu.sma @@ -1,35 +1,15 @@ -/* AMX Mod X -* Plugin Cvar and Command Menu -* -* by the AMX Mod X Development Team -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Plugin Cvar and Command Menu +// #include #include @@ -958,4 +938,4 @@ public CommandMenuCommand(id, level, cid) DisplayPluginMenuDefault(id) { DisplayPluginMenu(id,"Plugin Command Menu:", "PluginMenuSelection","DisplayCmdMenu","GetNumberOfCmdsForPlid"); -} \ No newline at end of file +} diff --git a/plugins/scrollmsg.sma b/plugins/scrollmsg.sma index 0af6fe52..316c8238 100755 --- a/plugins/scrollmsg.sma +++ b/plugins/scrollmsg.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Scrolling Message Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Scrolling Message Plugin +// #include #include diff --git a/plugins/statscfg.sma b/plugins/statscfg.sma index c92d15ca..fc4a663a 100755 --- a/plugins/statscfg.sma +++ b/plugins/statscfg.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Stats Configuration Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Stats Configuration Plugin +// #include #include diff --git a/plugins/telemenu.sma b/plugins/telemenu.sma index 7207cc01..c3314e86 100755 --- a/plugins/telemenu.sma +++ b/plugins/telemenu.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Teleport Menu Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Teleport Menu Plugin +// #include #include diff --git a/plugins/testsuite/admins_test.sma b/plugins/testsuite/admins_test.sma index f3edd7aa..e7853a2f 100644 --- a/plugins/testsuite/admins_test.sma +++ b/plugins/testsuite/admins_test.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include new __testnumber; @@ -120,4 +129,4 @@ public testadmins() test(admins_num(),0); server_print("test complete, %d errors",errcount); -} \ No newline at end of file +} diff --git a/plugins/testsuite/arraytest.sma b/plugins/testsuite/arraytest.sma index 87f28708..ccf346c6 100644 --- a/plugins/testsuite/arraytest.sma +++ b/plugins/testsuite/arraytest.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include new __testnumber; diff --git a/plugins/testsuite/callfunc_test.sma b/plugins/testsuite/callfunc_test.sma index f19ecd3e..77d22002 100644 --- a/plugins/testsuite/callfunc_test.sma +++ b/plugins/testsuite/callfunc_test.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include public plugin_init() diff --git a/plugins/testsuite/datapack_test.sma b/plugins/testsuite/datapack_test.sma index 1e17bc48..bba11d63 100644 --- a/plugins/testsuite/datapack_test.sma +++ b/plugins/testsuite/datapack_test.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include new failcount; diff --git a/plugins/testsuite/fakemeta_tests.sma b/plugins/testsuite/fakemeta_tests.sma index c7843a8c..64e2759c 100644 --- a/plugins/testsuite/fakemeta_tests.sma +++ b/plugins/testsuite/fakemeta_tests.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include #include diff --git a/plugins/testsuite/fmttest.sma b/plugins/testsuite/fmttest.sma index 28d98935..4f921551 100644 --- a/plugins/testsuite/fmttest.sma +++ b/plugins/testsuite/fmttest.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include public plugin_init() diff --git a/plugins/testsuite/fwdtest1.sma b/plugins/testsuite/fwdtest1.sma index 636f8968..29f390c0 100644 --- a/plugins/testsuite/fwdtest1.sma +++ b/plugins/testsuite/fwdtest1.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include new g_forward diff --git a/plugins/testsuite/fwdtest2.sma b/plugins/testsuite/fwdtest2.sma index 5c01d843..a75fd8a2 100644 --- a/plugins/testsuite/fwdtest2.sma +++ b/plugins/testsuite/fwdtest2.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include new g_id diff --git a/plugins/testsuite/logtest.sma b/plugins/testsuite/logtest.sma index 7767cea0..8c0d3ad2 100644 --- a/plugins/testsuite/logtest.sma +++ b/plugins/testsuite/logtest.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include new g_BlockLog diff --git a/plugins/testsuite/menutest.sma b/plugins/testsuite/menutest.sma index 97c292af..c7ce1bb7 100644 --- a/plugins/testsuite/menutest.sma +++ b/plugins/testsuite/menutest.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include public plugin_init() diff --git a/plugins/testsuite/native_test.sma b/plugins/testsuite/native_test.sma index 5b014d22..dd35909c 100644 --- a/plugins/testsuite/native_test.sma +++ b/plugins/testsuite/native_test.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include native Factorial(num) diff --git a/plugins/testsuite/nvault_test.sma b/plugins/testsuite/nvault_test.sma index 0a1dda71..11d4c8ca 100644 --- a/plugins/testsuite/nvault_test.sma +++ b/plugins/testsuite/nvault_test.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include #include diff --git a/plugins/testsuite/regex_test.sma b/plugins/testsuite/regex_test.sma index 7e5e4df1..622a8674 100644 --- a/plugins/testsuite/regex_test.sma +++ b/plugins/testsuite/regex_test.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include #include @@ -448,4 +457,4 @@ public OnServerCommand() } end(); -} \ No newline at end of file +} diff --git a/plugins/testsuite/sorttest.sma b/plugins/testsuite/sorttest.sma index 8ac53a43..2441cc55 100644 --- a/plugins/testsuite/sorttest.sma +++ b/plugins/testsuite/sorttest.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include public plugin_init() diff --git a/plugins/testsuite/sqlxtest.sma b/plugins/testsuite/sqlxtest.sma index f0367a7e..40846022 100644 --- a/plugins/testsuite/sqlxtest.sma +++ b/plugins/testsuite/sqlxtest.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include #include #include diff --git a/plugins/testsuite/stacktest.sma b/plugins/testsuite/stacktest.sma index aa8be50a..c8ebb42d 100644 --- a/plugins/testsuite/stacktest.sma +++ b/plugins/testsuite/stacktest.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include new FailCount; diff --git a/plugins/testsuite/strbreak.sma b/plugins/testsuite/strbreak.sma index 98724093..1aaf3747 100644 --- a/plugins/testsuite/strbreak.sma +++ b/plugins/testsuite/strbreak.sma @@ -1,4 +1,12 @@ -// vim: set ts=4 sw=4 tw=99 sts=4 noet ft=c: +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include #include diff --git a/plugins/testsuite/trietest.sma b/plugins/testsuite/trietest.sma index 6a43abaa..06319b0d 100644 --- a/plugins/testsuite/trietest.sma +++ b/plugins/testsuite/trietest.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include new failcount = 0; diff --git a/plugins/testsuite/utf8test.sma b/plugins/testsuite/utf8test.sma index 38125936..4be47734 100644 --- a/plugins/testsuite/utf8test.sma +++ b/plugins/testsuite/utf8test.sma @@ -1,3 +1,12 @@ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + #include /** @@ -231,4 +240,4 @@ public OnServerCommand() DestroyDataPack(d); showResult(); -} \ No newline at end of file +} diff --git a/plugins/tfc/plmenu.sma b/plugins/tfc/plmenu.sma index 488bec26..5ed9b16c 100755 --- a/plugins/tfc/plmenu.sma +++ b/plugins/tfc/plmenu.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Players Menu Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// Players Menu Plugin +// #include #include diff --git a/plugins/tfc/stats.sma b/plugins/tfc/stats.sma index 7f61e723..5daa79c4 100755 --- a/plugins/tfc/stats.sma +++ b/plugins/tfc/stats.sma @@ -1,20 +1,28 @@ -/* AMX Mod script. -* -* (c) 2004, SidLuke -* This file is provided as is (no warranties). -* -* Plugin works with Stats Settings Plugin. Just run both of them. -* By amx_statscfg command (from Stats Settings Plugin) -* you will be able to set all settings and save them to a file. -* -* Example of usage for some options: -* amx_statscfg on SayTop15 -* amx_statscfg on SayRank -* -* Accept able are also parts of name: -* amx_statscfg off say -* amx_statscfg on End -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// Copyright (C) 2004 SidLuke. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TFC Stats Plugin +// + +// Plugin works with Stats Settings Plugin. Just run both of them. +// By amx_statscfg command (from Stats Settings Plugin) +// you will be able to set all settings and save them to a file. +// +// Example usage for some options: +// amx_statscfg on SayTop15 +// amx_statscfg on SayRank +// +// Acceptable are also parts of name: +// amx_statscfg off say +// amx_statscfg on End #include #include diff --git a/plugins/tfc/stats_logging.sma b/plugins/tfc/stats_logging.sma index 6c739068..801257fa 100755 --- a/plugins/tfc/stats_logging.sma +++ b/plugins/tfc/stats_logging.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* Stats Logging Plugin -* -* by the AMX Mod X Development Team -* originally developed by JustinHoMi -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TFC Stats Logging Plugin +// #include #include diff --git a/plugins/tfc/statssounds.sma b/plugins/tfc/statssounds.sma index c4353e73..f5827e08 100755 --- a/plugins/tfc/statssounds.sma +++ b/plugins/tfc/statssounds.sma @@ -1,6 +1,15 @@ -/* -* Plugin for sounds precache -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TFC Sounds Precache Plugin +// #include @@ -26,4 +35,4 @@ public plugin_precache(){ public plugin_init() { register_plugin("TFC Sounds Precache",AMXX_VERSION_STR,"AMXX Dev Team") -} \ No newline at end of file +} diff --git a/plugins/tfc/tfcstats.sma b/plugins/tfc/tfcstats.sma index d0425c82..5dc4d980 100755 --- a/plugins/tfc/tfcstats.sma +++ b/plugins/tfc/tfcstats.sma @@ -1,9 +1,18 @@ -/* Get Score for TFC STATS. - * - * (c) 2004, SidLuke - * This file is provided as is (no warranties). - * - * Function calculates position in rank. +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// Copyright (C) 2004 SidLuke. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TFC Stats Rank Calculation +// + +/* Function calculates position in rank. * * Stats: * 0 - kills @@ -22,4 +31,4 @@ public get_score(stats[8],body[8]) { return stats[0] - stats[1] /* kills - deaths */ -} \ No newline at end of file +} diff --git a/plugins/timeleft.sma b/plugins/timeleft.sma index 5c67c58e..ae785b8d 100755 --- a/plugins/timeleft.sma +++ b/plugins/timeleft.sma @@ -1,36 +1,15 @@ -/* AMX Mod X -* TimeLeft Plugin -* -* by the AMX Mod X Development Team -* originally developed by OLO -* -* This file is part of AMX Mod X. -* -* -* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -* In addition, as a special exception, the author gives permission to -* link the code of this program with the Half-Life Game Engine ("HL -* Engine") and Modified Game Libraries ("MODs") developed by Valve, -* L.L.C ("Valve"). You must obey the GNU General Public License in all -* respects for all of the code used other than the HL Engine and MODs -* from Valve. If you modify this file, you may extend this exception -* to your version of the file, but you are not obligated to do so. If -* you do not wish to do so, delete this exception statement from your -* version. -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TimeLeft Plugin +// #include diff --git a/plugins/ts/stats.sma b/plugins/ts/stats.sma index 7e58ce89..419dabe3 100755 --- a/plugins/ts/stats.sma +++ b/plugins/ts/stats.sma @@ -1,20 +1,28 @@ -/* AMX Mod script. -* -* (c) 2004, SidLuke -* This file is provided as is (no warranties). -* -* Plugin works with Stats Settings Plugin. Just run both of them. -* By amx_statscfg command (from Stats Settings Plugin) -* you will be able to set all settings and save them to a file. -* -* Example of usage for some options: -* tsstatscfg on SayTop15 -* tsstatscfg on SayRank -* -* Accept able are also parts of name: -* tsstatscfg off say -* tsstatscfg on End -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// Copyright (C) 2004 SidLuke. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TS Stats Plugin +// + +// Plugin works with Stats Settings Plugin. Just run both of them. +// By amx_statscfg command (from Stats Settings Plugin) +// you will be able to set all settings and save them to a file. +// +// Example usage for some options: +// amx_statscfg on SayTop15 +// amx_statscfg on SayRank +// +// Acceptable are also parts of name: +// amx_statscfg off say +// amx_statscfg on End #include #include diff --git a/plugins/ts/stats_logging.sma b/plugins/ts/stats_logging.sma index baf57b2e..22144deb 100755 --- a/plugins/ts/stats_logging.sma +++ b/plugins/ts/stats_logging.sma @@ -1,10 +1,16 @@ -/* AMX Mod script. (Feb 4th, 2003) - * - * Stats Logging - * by JustinHoMi - * TS changes by SidLuke - * - */ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// Copyright (C) 2003 JustinHoMi. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TS Stats Logging Plugin +// #include #include diff --git a/plugins/ts/statssounds.sma b/plugins/ts/statssounds.sma index ca8b34f2..20598000 100755 --- a/plugins/ts/statssounds.sma +++ b/plugins/ts/statssounds.sma @@ -1,6 +1,15 @@ -/* -* Plugin for sounds precache -*/ +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TS Sounds Precache Plugin +// #include @@ -26,4 +35,4 @@ public plugin_precache(){ public plugin_init() { register_plugin("TS Sounds Precache",AMXX_VERSION_STR,"AMXX Dev Team") -} \ No newline at end of file +} diff --git a/plugins/ts/tsstats.sma b/plugins/ts/tsstats.sma index f22f083b..f60dadd5 100755 --- a/plugins/ts/tsstats.sma +++ b/plugins/ts/tsstats.sma @@ -1,9 +1,18 @@ -/* Get Score for TS STATS. - * - * (c) 2004, SidLuke - * This file is provided as is (no warranties). - * - * Function calculates position in rank. +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// Copyright (C) 2004 SidLuke. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +// +// TS Stats Rank Calculation +// + +/* Function calculates position in rank. * * Stats: * 0 - kills @@ -14,7 +23,7 @@ * 5 - hits * 6 - damage * - * File location: $moddir/addons/amxmodx/data/tsstats.amxx + * File location: $moddir/addons/amxmodx/data/tstats.amxx */ #include @@ -22,4 +31,4 @@ public get_score(stats[8],body[8]) { return stats[0] - stats[1] - stats[3] /* kills - deaths - TKs */ -} \ No newline at end of file +}