removed AMX_VERSION_STR
This commit is contained in:
parent
c1aa8b21d9
commit
3ba4ece791
|
@ -49,7 +49,7 @@ new g_cmdLoopback[16]
|
||||||
|
|
||||||
public plugin_init()
|
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_mode","2.0")
|
||||||
register_cvar("amx_password_field","_pw")
|
register_cvar("amx_password_field","_pw")
|
||||||
register_cvar("amx_default_access","")
|
register_cvar("amx_default_access","")
|
||||||
|
|
|
@ -50,7 +50,7 @@ new g_cmdLoopback[16]
|
||||||
|
|
||||||
public plugin_init()
|
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_mode","2.0")
|
||||||
register_cvar("amx_password_field","_pw")
|
register_cvar("amx_password_field","_pw")
|
||||||
|
|
|
@ -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}}
|
new Float:g_Pos[4][] = {{0.0,0.0},{0.05,0.55},{-1.0,0.2},{-1.0,0.7}}
|
||||||
|
|
||||||
public plugin_init(){
|
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]<text> - displays hud message")
|
register_clcmd("say","cmdSayChat",ADMIN_CHAT,"@[@|@|@][w|r|g|b|y|m|c]<text> - displays hud message")
|
||||||
register_clcmd("say_team","cmdSayAdmin",0,"@<text> - displays message to admins")
|
register_clcmd("say_team","cmdSayAdmin",0,"@<text> - displays message to admins")
|
||||||
register_concmd("amx_say","cmdSay",ADMIN_CHAT,"<message> - sends message to all players")
|
register_concmd("amx_say","cmdSay",ADMIN_CHAT,"<message> - sends message to all players")
|
||||||
|
|
|
@ -45,7 +45,7 @@ new bool:g_Paused
|
||||||
new g_addCvar[] = "amx_cvar add %s"
|
new g_addCvar[] = "amx_cvar add %s"
|
||||||
|
|
||||||
public plugin_init(){
|
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,"<name or #userid> [reason]")
|
register_concmd("amx_kick","cmdKick",ADMIN_KICK,"<name or #userid> [reason]")
|
||||||
register_concmd("amx_ban","cmdAddBan",ADMIN_BAN,"<authid or ip> <minutes> [reason]")
|
register_concmd("amx_ban","cmdAddBan",ADMIN_BAN,"<authid or ip> <minutes> [reason]")
|
||||||
register_concmd("amx_banid","cmdBan",ADMIN_BAN,"<name or #userid> <minutes> [reason]")
|
register_concmd("amx_banid","cmdBan",ADMIN_BAN,"<name or #userid> <minutes> [reason]")
|
||||||
|
|
|
@ -41,7 +41,7 @@ new g_timeInfo1[] = "Time Left: %d:%02d min. Next Map: %s"
|
||||||
new g_timeInfo2[] = "No Time Limit. Next Map: %s"
|
new g_timeInfo2[] = "No Time Limit. Next Map: %s"
|
||||||
|
|
||||||
public plugin_init() {
|
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")
|
register_concmd("amx_help","cmdHelp",0,"- displays this help")
|
||||||
setHelp(0)
|
setHelp(0)
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@ new g_cmdLoopback[16]
|
||||||
|
|
||||||
public plugin_init()
|
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")
|
register_cvar("amx_reservation","1")
|
||||||
|
|
||||||
format( g_cmdLoopback, 15, "amxres%c%c%c%c" ,
|
format( g_cmdLoopback, 15, "amxres%c%c%c%c" ,
|
||||||
|
|
|
@ -55,7 +55,7 @@ new bool:g_execResult
|
||||||
new Float:g_voteRatio
|
new Float:g_voteRatio
|
||||||
|
|
||||||
public plugin_init() {
|
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("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("Choose map: ") ,(1<<0)|(1<<1)|(1<<2)|(1<<3),"voteCount")
|
||||||
register_menucmd(register_menuid("Kick ") ,(1<<0)|(1<<1),"voteCount")
|
register_menucmd(register_menuid("Kick ") ,(1<<0)|(1<<1),"voteCount")
|
||||||
|
|
|
@ -38,7 +38,7 @@ new Float:g_Flooding[33]
|
||||||
|
|
||||||
public plugin_init()
|
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","chkFlood")
|
||||||
register_clcmd("say_team","chkFlood")
|
register_clcmd("say_team","chkFlood")
|
||||||
register_cvar("amx_flood_time","0.75")
|
register_cvar("amx_flood_time","0.75")
|
||||||
|
|
|
@ -88,7 +88,7 @@ new g_cstrikeRunning
|
||||||
|
|
||||||
public plugin_init()
|
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]
|
new basedir[32], workdir[64]
|
||||||
get_basedir( basedir , 31 )
|
get_basedir( basedir , 31 )
|
||||||
|
|
|
@ -46,7 +46,7 @@ new g_MessagesNum
|
||||||
new g_Current
|
new g_Current
|
||||||
|
|
||||||
public plugin_init(){
|
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_srvcmd("amx_imessage","setMessage")
|
||||||
register_cvar("amx_freq_imessage","10")
|
register_cvar("amx_freq_imessage","10")
|
||||||
new lastinfo[8]
|
new lastinfo[8]
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
#define _amxconst_included
|
#define _amxconst_included
|
||||||
|
|
||||||
#define AMX_VERSION 0.1
|
#define AMX_VERSION 0.1
|
||||||
new AMX_VERSION_STR[] = "0.1"
|
|
||||||
|
|
||||||
/* Uncomment if you are not using Steam */
|
/* Uncomment if you are not using Steam */
|
||||||
//#define NO_STEAM
|
//#define NO_STEAM
|
||||||
|
|
|
@ -53,7 +53,7 @@ new g_logFile[16]
|
||||||
|
|
||||||
public plugin_init()
|
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_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")
|
||||||
|
|
|
@ -55,7 +55,7 @@ new g_choosed
|
||||||
|
|
||||||
public plugin_init()
|
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_mapmenu","cmdMapsMenu",ADMIN_MAP,"- displays changelevel menu")
|
||||||
register_clcmd("amx_votemapmenu","cmdVoteMapMenu",ADMIN_MAP,"- displays votemap menu")
|
register_clcmd("amx_votemapmenu","cmdVoteMapMenu",ADMIN_MAP,"- displays votemap menu")
|
||||||
|
|
||||||
|
|
|
@ -122,7 +122,7 @@ new g_funModule
|
||||||
|
|
||||||
public plugin_init()
|
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_menucmd(register_menuid("AMX Mod Menu"),1023,"actionMenu")
|
||||||
register_clcmd("amxmodmenu","cmdMenu",ADMIN_MENU,"- displays menus")
|
register_clcmd("amxmodmenu","cmdMenu",ADMIN_MENU,"- displays menus")
|
||||||
|
|
|
@ -146,7 +146,7 @@ new g_teamsNames[2][] = {
|
||||||
}
|
}
|
||||||
|
|
||||||
public plugin_init(){
|
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("DeathMsg","eDeathMsg","a")
|
||||||
register_event("TextMsg","eRestart","a","2&#Game_C","2&#Game_w")
|
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")
|
register_event("SendAudio", "eEndRound", "a", "2&%!MRAD_terwin","2&%!MRAD_ctwin","2&%!MRAD_rounddraw")
|
||||||
|
|
|
@ -45,7 +45,7 @@ new g_pos
|
||||||
|
|
||||||
public plugin_init()
|
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_event("30","changeMap","a")
|
||||||
register_clcmd("say nextmap","sayNextMap",0,"- displays nextmap")
|
register_clcmd("say nextmap","sayNextMap",0,"- displays nextmap")
|
||||||
register_cvar("amx_nextmap","",FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_SPONLY)
|
register_cvar("amx_nextmap","",FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_SPONLY)
|
||||||
|
|
|
@ -53,7 +53,7 @@ new g_system[MAX_SYSTEM]
|
||||||
new g_systemNum
|
new g_systemNum
|
||||||
|
|
||||||
public plugin_init(){
|
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_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
|
||||||
|
|
|
@ -57,7 +57,7 @@ new g_cstrikeRunning
|
||||||
|
|
||||||
public plugin_init()
|
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_kickmenu","cmdKickMenu",ADMIN_KICK,"- displays kick menu")
|
||||||
register_clcmd("amx_banmenu","cmdBanMenu",ADMIN_BAN,"- displays ban menu")
|
register_clcmd("amx_banmenu","cmdBanMenu",ADMIN_BAN,"- displays ban menu")
|
||||||
register_clcmd("amx_slapmenu","cmdSlapMenu",ADMIN_SLAY,"- displays slap/slay menu")
|
register_clcmd("amx_slapmenu","cmdSlapMenu",ADMIN_SLAY,"- displays slap/slay menu")
|
||||||
|
|
|
@ -336,7 +336,7 @@ new g_Aliases2[MAXMENUPOS][] = {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public plugin_init(){
|
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("buyammo1","ammoRest1")
|
||||||
register_clcmd("buyammo2","ammoRest2")
|
register_clcmd("buyammo2","ammoRest2")
|
||||||
#if !defined NO_STEAM
|
#if !defined NO_STEAM
|
||||||
|
|
|
@ -46,7 +46,7 @@ new g_Length
|
||||||
new g_Frequency
|
new g_Frequency
|
||||||
|
|
||||||
public plugin_init(){
|
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")
|
register_srvcmd("amx_scrollmsg","setMessage")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ new g_teamScore[2]
|
||||||
new g_disabledMsg[] = "Server has disabled that option"
|
new g_disabledMsg[] = "Server has disabled that option"
|
||||||
|
|
||||||
public plugin_init() {
|
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("CS_DeathMsg","eCSDeathMsg","a")
|
||||||
register_event("ResetHUD","eResetHud","b")
|
register_event("ResetHUD","eResetHud","b")
|
||||||
register_event("SendAudio","eRoundEnd","a","2=%!MRAD_terwin","2=%!MRAD_ctwin","2=%!MRAD_rounddraw")
|
register_event("SendAudio","eRoundEnd","a","2=%!MRAD_terwin","2=%!MRAD_ctwin","2=%!MRAD_rounddraw")
|
||||||
|
|
|
@ -39,7 +39,7 @@ new g_pingSum[33]
|
||||||
new g_pingCount[33]
|
new g_pingCount[33]
|
||||||
|
|
||||||
public plugin_init()
|
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) {
|
public client_disconnect(id) {
|
||||||
if ( is_user_bot( id ) ) return PLUGIN_CONTINUE
|
if ( is_user_bot( id ) ) return PLUGIN_CONTINUE
|
||||||
|
|
|
@ -51,7 +51,7 @@ public plugin_precache(){
|
||||||
}
|
}
|
||||||
|
|
||||||
public plugin_init() {
|
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")
|
register_menucmd(register_menuid("\yStats Configuration"),1023,"actionCfgMenu")
|
||||||
build_path( g_fileToSave , 63 , "$basedir/stats.ini" )
|
build_path( g_fileToSave , 63 , "$basedir/stats.ini" )
|
||||||
loadSettings(g_fileToSave)
|
loadSettings(g_fileToSave)
|
||||||
|
|
|
@ -45,7 +45,7 @@ new g_cstrikeRunning
|
||||||
|
|
||||||
public plugin_init()
|
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_clcmd("amx_teleportmenu","cmdTelMenu",ADMIN_CFG,"- displays teleport menu")
|
||||||
register_menucmd(register_menuid("Teleport Menu"),1023,"actionTelMenu")
|
register_menucmd(register_menuid("Teleport Menu"),1023,"actionTelMenu")
|
||||||
get_logfile(g_logFile,15)
|
get_logfile(g_logFile,15)
|
||||||
|
|
|
@ -40,7 +40,7 @@ new g_CountDown
|
||||||
new g_Switch
|
new g_Switch
|
||||||
|
|
||||||
public plugin_init() {
|
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_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)
|
||||||
|
|
|
@ -50,7 +50,7 @@ new g_motdFile[64]
|
||||||
|
|
||||||
public plugin_init()
|
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")
|
g_cstrikeRunning = is_running("cstrike")
|
||||||
#if defined READ_FROM_FILE
|
#if defined READ_FROM_FILE
|
||||||
build_path( g_motdFile , 63 , "$basedir/conmotd.txt" )
|
build_path( g_motdFile , 63 , "$basedir/conmotd.txt" )
|
||||||
|
|
|
@ -48,7 +48,7 @@ new g_motdFile[64]
|
||||||
|
|
||||||
public plugin_init()
|
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")
|
g_cstrikeRunning = is_running("cstrike")
|
||||||
#if defined READ_FROM_FILE
|
#if defined READ_FROM_FILE
|
||||||
build_path( g_motdFile , 63 , "$basedir/conmotd.txt" )
|
build_path( g_motdFile , 63 , "$basedir/conmotd.txt" )
|
||||||
|
|
Loading…
Reference in New Issue
Block a user