added [AMXX] before messages
This commit is contained in:
parent
df2a96e2d7
commit
10b887147e
|
@ -100,7 +100,7 @@ loadSettings(szFilename[])
|
||||||
g_aFlags[ g_aNum ] = read_flags( szFlags )
|
g_aFlags[ g_aNum ] = read_flags( szFlags )
|
||||||
++g_aNum
|
++g_aNum
|
||||||
}
|
}
|
||||||
server_print("Loaded %d admin%s from file",g_aNum, (g_aNum == 1) ? "" : "s" )
|
server_print("[AMXX] Loaded %d admin%s from file",g_aNum, (g_aNum == 1) ? "" : "s" )
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,7 @@ public adminSql() {
|
||||||
|
|
||||||
new mysql = mysql_connect(host,user,pass,db,error,127)
|
new mysql = mysql_connect(host,user,pass,db,error,127)
|
||||||
if(mysql < 1){
|
if(mysql < 1){
|
||||||
server_print("MySQL error: can't connect: '%s'",error)
|
server_print("[AMXX] MySQL error: can't connect: '%s'",error)
|
||||||
return PLUGIN_HANDLED
|
return PLUGIN_HANDLED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ public adminSql() {
|
||||||
|
|
||||||
if(mysql_query(mysql,"SELECT auth,password,access,flags FROM admins") < 1) {
|
if(mysql_query(mysql,"SELECT auth,password,access,flags FROM admins") < 1) {
|
||||||
mysql_error(mysql,error,127)
|
mysql_error(mysql,error,127)
|
||||||
server_print("MySQL error: can't load admins: '%s'",error)
|
server_print("[AMXX] MySQL error: can't load admins: '%s'",error)
|
||||||
return PLUGIN_HANDLED
|
return PLUGIN_HANDLED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ public adminSql() {
|
||||||
++g_aNum
|
++g_aNum
|
||||||
}
|
}
|
||||||
|
|
||||||
server_print("Loaded %d admin%s from database",g_aNum, (g_aNum == 1) ? "" : "s" )
|
server_print("[AMXX] Loaded %d admin%s from database",g_aNum, (g_aNum == 1) ? "" : "s" )
|
||||||
mysql_close(mysql)
|
mysql_close(mysql)
|
||||||
return PLUGIN_HANDLED
|
return PLUGIN_HANDLED
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user