fixed plugin location comments on stat plugins

replaced 0.20 with AMXX_VERSION_STR
removed all require_modules
This commit is contained in:
Borja Ferrer 2005-09-10 20:51:49 +00:00
parent 76760b221d
commit f0c5e44985
15 changed files with 6 additions and 49 deletions

View File

@ -541,11 +541,6 @@ public bomb_defused(defuser)
public bomb_explode(planter,defuser) public bomb_explode(planter,defuser)
if (BombFailed && defuser) announceEvent(defuser , "FAILED_DEFU" ) if (BombFailed && defuser) announceEvent(defuser , "FAILED_DEFU" )
public plugin_modules()
{
require_module("csx")
}
public play_sound(sound[]) public play_sound(sound[])
{ {
new players[32], pnum new players[32], pnum

View File

@ -81,8 +81,3 @@ public getPing(id) {
g_pingSum[ id ] += iPing g_pingSum[ id ] += iPing
++g_pingCount[ id ] ++g_pingCount[ id ]
} }
public plugin_modules()
{
require_module("csx")
}

View File

@ -15,7 +15,7 @@
* 6 - damage * 6 - damage
* 7 - score * 7 - score
* *
* File location: $moddir/addons/amx * File location: $moddir/addons/amxmodx/data/dodstats.amxx
*/ */
#include <amxmodx> #include <amxmodx>

View File

@ -50,7 +50,7 @@ new bool:g_selected = false
public plugin_init() 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_menucmd(register_menuid("AMX Choose nextmap:"),(-1^(-1<<(SELECTMAPS+2))),"countVote")
register_cvar("amx_extendmap_max","90") register_cvar("amx_extendmap_max","90")
register_cvar("amx_extendmap_step","15") register_cvar("amx_extendmap_step","15")

View File

@ -49,7 +49,7 @@ new g_numMaps, g_numPlayers, g_nextPos
new bool:g_mapChanging, bool:g_changeMapDelay new bool:g_mapChanging, bool:g_changeMapDelay
public plugin_init() { 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_nextmap","",FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_SPONLY)
register_cvar("amx_mapnum_ignore", "0") register_cvar("amx_mapnum_ignore", "0")
register_event("TextMsg", "voteMap", "a", "1=3", "2&executed votemap") register_event("TextMsg", "voteMap", "a", "1=3", "2&executed votemap")

View File

@ -42,7 +42,7 @@ new Float:g_roundStartTime = 999999.9
new bool:is_combat new bool:is_combat
public plugin_init() { 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_cvar("amx_time_voice","1")
register_srvcmd("amx_time_display","setDisplaying") register_srvcmd("amx_time_display","setDisplaying")
register_cvar("amx_timeleft","00:00",FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_UNLOGGED|FCVAR_SPONLY) register_cvar("amx_timeleft","00:00",FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_UNLOGGED|FCVAR_SPONLY)

View File

@ -43,8 +43,6 @@ new Float:g_lastcmdtime[33]
public plugin_init() { public plugin_init() {
register_plugin("UnStuck",AMXX_VERSION_STR,"AMXX Dev Team") register_plugin("UnStuck",AMXX_VERSION_STR,"AMXX Dev Team")
require_module("engine")
require_module("ns")
register_cvar("amx_unstuck_frequency", "4.0") register_cvar("amx_unstuck_frequency", "4.0")
register_clcmd("say_team /stuck", "unStuck") register_clcmd("say_team /stuck", "unStuck")
register_clcmd("say /stuck", "unStuck") register_clcmd("say /stuck", "unStuck")

View File

@ -53,11 +53,6 @@ public plugin_init() {
g_coloredMenus = colored_menus() g_coloredMenus = colored_menus()
} }
public plugin_modules()
{
require_module("fun")
}
public actionTelMenu(id,key) { public actionTelMenu(id,key) {
switch (key) { switch (key) {
case 6: { case 6: {

View File

@ -668,8 +668,3 @@ load_settings( szFilename[] ) {
return 1 return 1
} }
public plugin_modules()
{
require_module("tfcx")
}

View File

@ -672,8 +672,3 @@ isActive(){
return 0 return 0
return 1 return 1
} }
public plugin_modules()
{
require_module("tfcx")
}

View File

@ -80,8 +80,3 @@ public getPing( id ) {
g_pingSum[ id ] += iPing g_pingSum[ id ] += iPing
++g_pingCount[ id ] ++g_pingCount[ id ]
} }
public plugin_modules()
{
require_module("tfcx")
}

View File

@ -14,7 +14,7 @@
* 5 - hits * 5 - hits
* 6 - damage * 6 - damage
* *
* File location: $moddir/addons/amx * File location: $moddir/addons/amxmodx/data/tfcstats.amxx
*/ */
#include <amxmodx> #include <amxmodx>

View File

@ -550,9 +550,3 @@ showStatsMenu(id,pos){
show_menu(id,keys,menu_body) show_menu(id,keys,menu_body)
return PLUGIN_HANDLED return PLUGIN_HANDLED
} }
public plugin_modules()
{
require_module("tsx")
}

View File

@ -60,8 +60,3 @@ public getPing( id ) {
g_pingSum[ id ] += iPing g_pingSum[ id ] += iPing
++g_pingCount[ id ] ++g_pingCount[ id ]
} }
public plugin_modules()
{
require_module("tsx")
}

View File

@ -14,7 +14,7 @@
* 5 - hits * 5 - hits
* 6 - damage * 6 - damage
* *
* File location: $moddir/addons/amxx * File location: $moddir/addons/amxmodx/data/tsstats.amxx
*/ */
#include <amxmodx> #include <amxmodx>