mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
changed header and version info
DIRECT_ONOFF by defaul on
This commit is contained in:
parent
059abd83bb
commit
a771b2f2d5
@ -1,18 +1,10 @@
|
|||||||
/* AMX Mod script.
|
/* AMX Mod X script.
|
||||||
*
|
*
|
||||||
* (c) 2003, OLO
|
* (c) 2002-2004, OLO
|
||||||
* This file is provided as is (no warranties).
|
* modified by BAILOPAN,Manip,PM,SniperBeamer
|
||||||
*
|
*
|
||||||
* Admin commads:
|
* This file is provided as is (no warranties).
|
||||||
* amx_pausecfgmenu - displays menu by which you can pause, unpause and stop plugins
|
*/
|
||||||
* amx_pausecfg - list commands for pause/unpause managment
|
|
||||||
*
|
|
||||||
* WARNING: Stopped plugins won't work properly after activation
|
|
||||||
* (without mapchange) due to unactive status during players connections.
|
|
||||||
* For proper activation clear the file with stopped plugins
|
|
||||||
* (option #7 in menu) or unstop selected one, save configuration,
|
|
||||||
* then change your map.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <amxmod>
|
#include <amxmod>
|
||||||
#include <amxmisc>
|
#include <amxmisc>
|
||||||
@ -20,7 +12,7 @@
|
|||||||
// Uncomment if you want to have two new commands
|
// Uncomment if you want to have two new commands
|
||||||
// amx_off - pause plugins not marked as unpauseable
|
// amx_off - pause plugins not marked as unpauseable
|
||||||
// amx_on - enable plugins not marked as unpauseable
|
// amx_on - enable plugins not marked as unpauseable
|
||||||
//#define DIRECT_ONOFF
|
#define DIRECT_ONOFF
|
||||||
|
|
||||||
#define MAX_SYSTEM 32
|
#define MAX_SYSTEM 32
|
||||||
|
|
||||||
@ -35,7 +27,7 @@ new g_system[MAX_SYSTEM]
|
|||||||
new g_systemNum
|
new g_systemNum
|
||||||
|
|
||||||
public plugin_init(){
|
public plugin_init(){
|
||||||
register_plugin("Pause Plugins","0.9","default")
|
register_plugin("Pause Plugins","0.1","default")
|
||||||
register_concmd("amx_pausecfg","cmdPlugin",ADMIN_CFG,"- list commands for pause/unpause managment")
|
register_concmd("amx_pausecfg","cmdPlugin",ADMIN_CFG,"- list commands for pause/unpause managment")
|
||||||
register_clcmd("amx_pausecfgmenu","cmdMenu",ADMIN_CFG,"- pause/unpause plugins with menu")
|
register_clcmd("amx_pausecfgmenu","cmdMenu",ADMIN_CFG,"- pause/unpause plugins with menu")
|
||||||
#if defined DIRECT_ONOFF
|
#if defined DIRECT_ONOFF
|
||||||
|
Loading…
Reference in New Issue
Block a user