diff --git a/plugins/cstrike/miscstats.sma b/plugins/cstrike/miscstats.sma index 978d139c..934511e7 100755 --- a/plugins/cstrike/miscstats.sma +++ b/plugins/cstrike/miscstats.sma @@ -541,11 +541,6 @@ public bomb_defused(defuser) public bomb_explode(planter,defuser) if (BombFailed && defuser) announceEvent(defuser , "FAILED_DEFU" ) -public plugin_modules() -{ - require_module("csx") -} - public play_sound(sound[]) { new players[32], pnum diff --git a/plugins/cstrike/stats_logging.sma b/plugins/cstrike/stats_logging.sma index 8418eb64..185d9e93 100755 --- a/plugins/cstrike/stats_logging.sma +++ b/plugins/cstrike/stats_logging.sma @@ -81,8 +81,3 @@ public getPing(id) { g_pingSum[ id ] += iPing ++g_pingCount[ id ] } - -public plugin_modules() -{ - require_module("csx") -} \ No newline at end of file diff --git a/plugins/dod/dodstats.sma b/plugins/dod/dodstats.sma index e0f6a3a8..a6997a58 100755 --- a/plugins/dod/dodstats.sma +++ b/plugins/dod/dodstats.sma @@ -15,7 +15,7 @@ * 6 - damage * 7 - score * - * File location: $moddir/addons/amx + * File location: $moddir/addons/amxmodx/data/dodstats.amxx */ #include diff --git a/plugins/ns/mapchooser.sma b/plugins/ns/mapchooser.sma index 45643007..0d473c74 100755 --- a/plugins/ns/mapchooser.sma +++ b/plugins/ns/mapchooser.sma @@ -50,7 +50,7 @@ new bool:g_selected = false public plugin_init() { - register_plugin("Nextmap Chooser","0.20","AMXX Dev Team") + register_plugin("Nextmap Chooser",AMXX_VERSION_STR,"AMXX Dev Team") register_menucmd(register_menuid("AMX Choose nextmap:"),(-1^(-1<<(SELECTMAPS+2))),"countVote") register_cvar("amx_extendmap_max","90") register_cvar("amx_extendmap_step","15") diff --git a/plugins/ns/nextmap.sma b/plugins/ns/nextmap.sma index 422cbcb9..55fa692b 100755 --- a/plugins/ns/nextmap.sma +++ b/plugins/ns/nextmap.sma @@ -49,7 +49,7 @@ new g_numMaps, g_numPlayers, g_nextPos new bool:g_mapChanging, bool:g_changeMapDelay public plugin_init() { - register_plugin("NextMap","0.20","AMXX Dev Team") + register_plugin("NextMap",AMXX_VERSION_STR,"AMXX Dev Team") register_cvar("amx_nextmap","",FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_SPONLY) register_cvar("amx_mapnum_ignore", "0") register_event("TextMsg", "voteMap", "a", "1=3", "2&executed votemap") diff --git a/plugins/ns/timeleft.sma b/plugins/ns/timeleft.sma index 6054fe88..531b1688 100755 --- a/plugins/ns/timeleft.sma +++ b/plugins/ns/timeleft.sma @@ -42,7 +42,7 @@ new Float:g_roundStartTime = 999999.9 new bool:is_combat public plugin_init() { - register_plugin("TimeLeft","0.20","AMXX Dev Team") + register_plugin("TimeLeft",AMXX_VERSION_STR,"AMXX Dev Team") register_cvar("amx_time_voice","1") register_srvcmd("amx_time_display","setDisplaying") register_cvar("amx_timeleft","00:00",FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_UNLOGGED|FCVAR_SPONLY) diff --git a/plugins/ns/unstuck.sma b/plugins/ns/unstuck.sma index 229d0192..0a4af2ad 100755 --- a/plugins/ns/unstuck.sma +++ b/plugins/ns/unstuck.sma @@ -43,8 +43,6 @@ new Float:g_lastcmdtime[33] public plugin_init() { register_plugin("UnStuck",AMXX_VERSION_STR,"AMXX Dev Team") - require_module("engine") - require_module("ns") register_cvar("amx_unstuck_frequency", "4.0") register_clcmd("say_team /stuck", "unStuck") register_clcmd("say /stuck", "unStuck") diff --git a/plugins/telemenu.sma b/plugins/telemenu.sma index 83c0712d..03e3c8e1 100755 --- a/plugins/telemenu.sma +++ b/plugins/telemenu.sma @@ -53,11 +53,6 @@ public plugin_init() { g_coloredMenus = colored_menus() } -public plugin_modules() -{ - require_module("fun") -} - public actionTelMenu(id,key) { switch (key) { case 6: { diff --git a/plugins/tfc/plmenu.sma b/plugins/tfc/plmenu.sma index bef4e788..8869a63c 100755 --- a/plugins/tfc/plmenu.sma +++ b/plugins/tfc/plmenu.sma @@ -668,8 +668,3 @@ load_settings( szFilename[] ) { return 1 } - -public plugin_modules() -{ - require_module("tfcx") -} \ No newline at end of file diff --git a/plugins/tfc/stats.sma b/plugins/tfc/stats.sma index 75081660..b028a38f 100755 --- a/plugins/tfc/stats.sma +++ b/plugins/tfc/stats.sma @@ -672,8 +672,3 @@ isActive(){ return 0 return 1 } - -public plugin_modules() -{ - require_module("tfcx") -} diff --git a/plugins/tfc/stats_logging.sma b/plugins/tfc/stats_logging.sma index 901578b5..0f24308b 100755 --- a/plugins/tfc/stats_logging.sma +++ b/plugins/tfc/stats_logging.sma @@ -80,8 +80,3 @@ public getPing( id ) { g_pingSum[ id ] += iPing ++g_pingCount[ id ] } - -public plugin_modules() -{ - require_module("tfcx") -} diff --git a/plugins/tfc/tfcstats.sma b/plugins/tfc/tfcstats.sma index bd65d13d..d0425c82 100755 --- a/plugins/tfc/tfcstats.sma +++ b/plugins/tfc/tfcstats.sma @@ -14,7 +14,7 @@ * 5 - hits * 6 - damage * - * File location: $moddir/addons/amx + * File location: $moddir/addons/amxmodx/data/tfcstats.amxx */ #include diff --git a/plugins/ts/stats.sma b/plugins/ts/stats.sma index ef3d6516..04eaeb96 100755 --- a/plugins/ts/stats.sma +++ b/plugins/ts/stats.sma @@ -550,9 +550,3 @@ showStatsMenu(id,pos){ show_menu(id,keys,menu_body) return PLUGIN_HANDLED } - - -public plugin_modules() -{ - require_module("tsx") -} diff --git a/plugins/ts/stats_logging.sma b/plugins/ts/stats_logging.sma index 0b1fc1a8..c3b7f398 100755 --- a/plugins/ts/stats_logging.sma +++ b/plugins/ts/stats_logging.sma @@ -60,8 +60,3 @@ public getPing( id ) { g_pingSum[ id ] += iPing ++g_pingCount[ id ] } - -public plugin_modules() -{ - require_module("tsx") -} diff --git a/plugins/ts/tsstats.sma b/plugins/ts/tsstats.sma index 73a70551..f22f083b 100755 --- a/plugins/ts/tsstats.sma +++ b/plugins/ts/tsstats.sma @@ -14,7 +14,7 @@ * 5 - hits * 6 - damage * - * File location: $moddir/addons/amxx + * File location: $moddir/addons/amxmodx/data/tsstats.amxx */ #include