mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 14:55:36 +03:00
fixed plugin location comments on stat plugins
replaced 0.20 with AMXX_VERSION_STR removed all require_modules
This commit is contained in:
parent
76760b221d
commit
f0c5e44985
@ -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
|
||||||
|
@ -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")
|
|
||||||
}
|
|
@ -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>
|
||||||
|
@ -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")
|
||||||
|
@ -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")
|
||||||
|
@ -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)
|
||||||
|
@ -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")
|
||||||
|
@ -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: {
|
||||||
|
@ -668,8 +668,3 @@ load_settings( szFilename[] ) {
|
|||||||
|
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
public plugin_modules()
|
|
||||||
{
|
|
||||||
require_module("tfcx")
|
|
||||||
}
|
|
@ -672,8 +672,3 @@ isActive(){
|
|||||||
return 0
|
return 0
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
public plugin_modules()
|
|
||||||
{
|
|
||||||
require_module("tfcx")
|
|
||||||
}
|
|
||||||
|
@ -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")
|
|
||||||
}
|
|
||||||
|
@ -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>
|
||||||
|
@ -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")
|
|
||||||
}
|
|
||||||
|
@ -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")
|
|
||||||
}
|
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user