diff --git a/plugins/admin.sma b/plugins/admin.sma index 13157ddc..49a4860a 100755 --- a/plugins/admin.sma +++ b/plugins/admin.sma @@ -49,7 +49,7 @@ new g_cmdLoopback[16] public plugin_init() { - register_plugin("Admin Base",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Admin Base","0.1","AMXX Dev Team") register_cvar("amx_mode","2.0") register_cvar("amx_password_field","_pw") register_cvar("amx_default_access","") diff --git a/plugins/admin_mysql.sma b/plugins/admin_mysql.sma index c262f502..39c10909 100755 --- a/plugins/admin_mysql.sma +++ b/plugins/admin_mysql.sma @@ -50,7 +50,7 @@ new g_cmdLoopback[16] public plugin_init() { - register_plugin("Admin Base for MySQL",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Admin Base for MySQL","0.1","AMXX Dev Team") register_cvar("amx_mode","2.0") register_cvar("amx_password_field","_pw") diff --git a/plugins/adminchat.sma b/plugins/adminchat.sma index db806619..2ef88041 100755 --- a/plugins/adminchat.sma +++ b/plugins/adminchat.sma @@ -48,7 +48,7 @@ new g_Values[MAX_CLR][] = {{255,255,255},{255,0,0},{0,255,0},{0,0,255},{255,255, new Float:g_Pos[4][] = {{0.0,0.0},{0.05,0.55},{-1.0,0.2},{-1.0,0.7}} public plugin_init(){ - register_plugin("Admin Chat",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Admin Chat","0.1","AMXX Dev Team") register_clcmd("say","cmdSayChat",ADMIN_CHAT,"@[@|@|@][w|r|g|b|y|m|c] - displays hud message") register_clcmd("say_team","cmdSayAdmin",0,"@ - displays message to admins") register_concmd("amx_say","cmdSay",ADMIN_CHAT," - sends message to all players") diff --git a/plugins/admincmd.sma b/plugins/admincmd.sma index 160acf27..fc820584 100755 --- a/plugins/admincmd.sma +++ b/plugins/admincmd.sma @@ -45,7 +45,7 @@ new bool:g_Paused new g_addCvar[] = "amx_cvar add %s" public plugin_init(){ - register_plugin("Admin Commands",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Admin Commands","0.1","AMXX Dev Team") register_concmd("amx_kick","cmdKick",ADMIN_KICK," [reason]") register_concmd("amx_ban","cmdAddBan",ADMIN_BAN," [reason]") register_concmd("amx_banid","cmdBan",ADMIN_BAN," [reason]") diff --git a/plugins/adminhelp.sma b/plugins/adminhelp.sma index 0b2e99d6..0ecb885c 100755 --- a/plugins/adminhelp.sma +++ b/plugins/adminhelp.sma @@ -41,7 +41,7 @@ new g_timeInfo1[] = "Time Left: %d:%02d min. Next Map: %s" new g_timeInfo2[] = "No Time Limit. Next Map: %s" public plugin_init() { - register_plugin("Admin Help",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Admin Help","0.1","AMXX Dev Team") register_concmd("amx_help","cmdHelp",0,"- displays this help") setHelp(0) } diff --git a/plugins/adminslots.sma b/plugins/adminslots.sma index ebb523a2..a251a08c 100755 --- a/plugins/adminslots.sma +++ b/plugins/adminslots.sma @@ -42,7 +42,7 @@ new g_cmdLoopback[16] public plugin_init() { - register_plugin("Slots Reservation",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Slots Reservation","0.1","AMXX Dev Team") register_cvar("amx_reservation","1") format( g_cmdLoopback, 15, "amxres%c%c%c%c" , diff --git a/plugins/adminvote.sma b/plugins/adminvote.sma index 87a746e8..ef15ee92 100755 --- a/plugins/adminvote.sma +++ b/plugins/adminvote.sma @@ -55,7 +55,7 @@ new bool:g_execResult new Float:g_voteRatio public plugin_init() { - register_plugin("Admin Votes",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Admin Votes","0.1","AMXX Dev Team") register_menucmd(register_menuid("Change map to ") ,(1<<0)|(1<<1),"voteCount") register_menucmd(register_menuid("Choose map: ") ,(1<<0)|(1<<1)|(1<<2)|(1<<3),"voteCount") register_menucmd(register_menuid("Kick ") ,(1<<0)|(1<<1),"voteCount") diff --git a/plugins/antiflood.sma b/plugins/antiflood.sma index f4163d87..40605ac0 100755 --- a/plugins/antiflood.sma +++ b/plugins/antiflood.sma @@ -38,7 +38,7 @@ new Float:g_Flooding[33] public plugin_init() { - register_plugin("Anti Flood",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Anti Flood","0.1","AMXX Dev Team") register_clcmd("say","chkFlood") register_clcmd("say_team","chkFlood") register_cvar("amx_flood_time","0.75") diff --git a/plugins/cmdmenu.sma b/plugins/cmdmenu.sma index 5bed0c9d..757290f6 100755 --- a/plugins/cmdmenu.sma +++ b/plugins/cmdmenu.sma @@ -88,7 +88,7 @@ new g_cstrikeRunning public plugin_init() { - register_plugin("Commands Menu",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Commands Menu","0.1","AMXX Dev Team") new basedir[32], workdir[64] get_basedir( basedir , 31 ) diff --git a/plugins/imessage.sma b/plugins/imessage.sma index d5be57b5..7d3377e7 100755 --- a/plugins/imessage.sma +++ b/plugins/imessage.sma @@ -46,7 +46,7 @@ new g_MessagesNum new g_Current public plugin_init(){ - register_plugin("Info. Messages",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Info. Messages","0.1","AMXX Dev Team") register_srvcmd("amx_imessage","setMessage") register_cvar("amx_freq_imessage","10") new lastinfo[8] diff --git a/plugins/include/amxconst.inc b/plugins/include/amxconst.inc index 93b5b08b..1f18ffca 100755 --- a/plugins/include/amxconst.inc +++ b/plugins/include/amxconst.inc @@ -12,7 +12,6 @@ #define _amxconst_included #define AMX_VERSION 0.1 -new AMX_VERSION_STR[] = "0.1" /* Uncomment if you are not using Steam */ //#define NO_STEAM diff --git a/plugins/mapchooser.sma b/plugins/mapchooser.sma index fa098567..46c1008a 100755 --- a/plugins/mapchooser.sma +++ b/plugins/mapchooser.sma @@ -53,7 +53,7 @@ new g_logFile[16] public plugin_init() { - register_plugin("Nextmap Chooser",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Nextmap Chooser","0.1","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/mapsmenu.sma b/plugins/mapsmenu.sma index 00d9d484..ad47c53e 100755 --- a/plugins/mapsmenu.sma +++ b/plugins/mapsmenu.sma @@ -55,7 +55,7 @@ new g_choosed public plugin_init() { - register_plugin("Maps Menu",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Maps Menu","0.1","AMXX Dev Team") register_clcmd("amx_mapmenu","cmdMapsMenu",ADMIN_MAP,"- displays changelevel menu") register_clcmd("amx_votemapmenu","cmdVoteMapMenu",ADMIN_MAP,"- displays votemap menu") diff --git a/plugins/menufront.sma b/plugins/menufront.sma index 012dcaaf..bf5898b4 100755 --- a/plugins/menufront.sma +++ b/plugins/menufront.sma @@ -122,7 +122,7 @@ new g_funModule public plugin_init() { - register_plugin("Menus Front-End",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Menus Front-End","0.1","AMXX Dev Team") register_menucmd(register_menuid("AMX Mod Menu"),1023,"actionMenu") register_clcmd("amxmodmenu","cmdMenu",ADMIN_MENU,"- displays menus") diff --git a/plugins/miscstats.sma b/plugins/miscstats.sma index dbec32f3..66d736b8 100755 --- a/plugins/miscstats.sma +++ b/plugins/miscstats.sma @@ -146,7 +146,7 @@ new g_teamsNames[2][] = { } public plugin_init(){ - register_plugin("CS Misc. Stats",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("CS Misc. Stats","0.1","AMXX Dev Team") register_event("DeathMsg","eDeathMsg","a") register_event("TextMsg","eRestart","a","2&#Game_C","2&#Game_w") register_event("SendAudio", "eEndRound", "a", "2&%!MRAD_terwin","2&%!MRAD_ctwin","2&%!MRAD_rounddraw") diff --git a/plugins/nextmap.sma b/plugins/nextmap.sma index 7948116e..03276b4d 100755 --- a/plugins/nextmap.sma +++ b/plugins/nextmap.sma @@ -45,7 +45,7 @@ new g_pos public plugin_init() { - register_plugin("NextMap",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("NextMap","0.1","AMXX Dev Team") register_event("30","changeMap","a") register_clcmd("say nextmap","sayNextMap",0,"- displays nextmap") register_cvar("amx_nextmap","",FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_SPONLY) diff --git a/plugins/pausecfg.sma b/plugins/pausecfg.sma index 854966f1..8ba8bcb4 100755 --- a/plugins/pausecfg.sma +++ b/plugins/pausecfg.sma @@ -53,7 +53,7 @@ new g_system[MAX_SYSTEM] new g_systemNum public plugin_init(){ - register_plugin("Pause Plugins",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Pause Plugins","0.1","AMXX Dev Team") 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") #if defined DIRECT_ONOFF diff --git a/plugins/plmenu.sma b/plugins/plmenu.sma index 354214f0..8cd4dba1 100755 --- a/plugins/plmenu.sma +++ b/plugins/plmenu.sma @@ -57,7 +57,7 @@ new g_cstrikeRunning public plugin_init() { - register_plugin("Players Menu",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Players Menu","0.1","AMXX Dev Team") register_clcmd("amx_kickmenu","cmdKickMenu",ADMIN_KICK,"- displays kick menu") register_clcmd("amx_banmenu","cmdBanMenu",ADMIN_BAN,"- displays ban menu") register_clcmd("amx_slapmenu","cmdSlapMenu",ADMIN_SLAY,"- displays slap/slay menu") diff --git a/plugins/restmenu.sma b/plugins/restmenu.sma index 3eaa2ac4..15af9bd6 100755 --- a/plugins/restmenu.sma +++ b/plugins/restmenu.sma @@ -336,7 +336,7 @@ new g_Aliases2[MAXMENUPOS][] = { #endif public plugin_init(){ - register_plugin("Restrict Weapons",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Restrict Weapons","0.1","AMXX Dev Team") register_clcmd("buyammo1","ammoRest1") register_clcmd("buyammo2","ammoRest2") #if !defined NO_STEAM diff --git a/plugins/scrollmsg.sma b/plugins/scrollmsg.sma index 081df103..f6ce3139 100755 --- a/plugins/scrollmsg.sma +++ b/plugins/scrollmsg.sma @@ -46,7 +46,7 @@ new g_Length new g_Frequency public plugin_init(){ - register_plugin("Scrolling Message",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Scrolling Message","0.1","AMXX Dev Team") register_srvcmd("amx_scrollmsg","setMessage") } diff --git a/plugins/stats.sma b/plugins/stats.sma index 1af455f8..fcdf13ad 100755 --- a/plugins/stats.sma +++ b/plugins/stats.sma @@ -71,7 +71,7 @@ new g_teamScore[2] new g_disabledMsg[] = "Server has disabled that option" public plugin_init() { - register_plugin("CS Stats",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("CS Stats","0.1","AMXX Dev Team") register_event("CS_DeathMsg","eCSDeathMsg","a") register_event("ResetHUD","eResetHud","b") register_event("SendAudio","eRoundEnd","a","2=%!MRAD_terwin","2=%!MRAD_ctwin","2=%!MRAD_rounddraw") diff --git a/plugins/stats_logging.sma b/plugins/stats_logging.sma index 0c2b111c..0491579d 100755 --- a/plugins/stats_logging.sma +++ b/plugins/stats_logging.sma @@ -39,7 +39,7 @@ new g_pingSum[33] new g_pingCount[33] public plugin_init() - register_plugin("CS Stats Logging",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("CS Stats Logging","0.1","AMXX Dev Team") public client_disconnect(id) { if ( is_user_bot( id ) ) return PLUGIN_CONTINUE diff --git a/plugins/statscfg.sma b/plugins/statscfg.sma index f8ff09c5..8f5e2289 100755 --- a/plugins/statscfg.sma +++ b/plugins/statscfg.sma @@ -51,7 +51,7 @@ public plugin_precache(){ } public plugin_init() { - register_plugin("Stats Configuration",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Stats Configuration","0.1","AMXX Dev Team") register_menucmd(register_menuid("\yStats Configuration"),1023,"actionCfgMenu") build_path( g_fileToSave , 63 , "$basedir/stats.ini" ) loadSettings(g_fileToSave) diff --git a/plugins/telemenu.sma b/plugins/telemenu.sma index 70e51ddd..5c3d00b9 100755 --- a/plugins/telemenu.sma +++ b/plugins/telemenu.sma @@ -45,7 +45,7 @@ new g_cstrikeRunning public plugin_init() { - register_plugin("Teleport Menu",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Teleport Menu","0.1","AMXX Dev Team") register_clcmd("amx_teleportmenu","cmdTelMenu",ADMIN_CFG,"- displays teleport menu") register_menucmd(register_menuid("Teleport Menu"),1023,"actionTelMenu") get_logfile(g_logFile,15) diff --git a/plugins/timeleft.sma b/plugins/timeleft.sma index 4ebe670e..5738f8b0 100755 --- a/plugins/timeleft.sma +++ b/plugins/timeleft.sma @@ -40,7 +40,7 @@ new g_CountDown new g_Switch public plugin_init() { - register_plugin("TimeLeft",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("TimeLeft","0.1","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/welcomemsg.sma b/plugins/welcomemsg.sma index c1bb7783..725834c7 100755 --- a/plugins/welcomemsg.sma +++ b/plugins/welcomemsg.sma @@ -50,7 +50,7 @@ new g_motdFile[64] public plugin_init() { - register_plugin("Welcome Message",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Welcome Message","0.1","AMXX Dev Team") g_cstrikeRunning = is_running("cstrike") #if defined READ_FROM_FILE build_path( g_motdFile , 63 , "$basedir/conmotd.txt" ) diff --git a/plugins/welcomemsg_cs15.sma b/plugins/welcomemsg_cs15.sma index 003e8f96..0f3e965a 100755 --- a/plugins/welcomemsg_cs15.sma +++ b/plugins/welcomemsg_cs15.sma @@ -48,7 +48,7 @@ new g_motdFile[64] public plugin_init() { - register_plugin("Welcome Message",AMX_VERSION_STR,"AMXX Dev Team") + register_plugin("Welcome Message","0.1","AMXX Dev Team") g_cstrikeRunning = is_running("cstrike") #if defined READ_FROM_FILE build_path( g_motdFile , 63 , "$basedir/conmotd.txt" )