mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Added dbi_type()
This commit is contained in:
parent
9627b4803d
commit
e0a9729b47
@ -100,7 +100,7 @@ public adminSql() {
|
|||||||
return PLUGIN_HANDLED
|
return PLUGIN_HANDLED
|
||||||
}
|
}
|
||||||
|
|
||||||
dbi_query(sql,"CREATE TABLE IF NOT EXISTS admins ( auth varchar(32) NOT NULL default '', password varchar(32) NOT NULL default '', access varchar(32) NOT NULL default '', flags varchar(32) NOT NULL default '' ) TYPE=MyISAM")
|
dbi_query(sql,"CREATE TABLE IF NOT EXISTS admins ( auth varchar(32) NOT NULL default '', password varchar(32) NOT NULL default '', access varchar(32) NOT NULL default '', flags varchar(32) NOT NULL default '' )")
|
||||||
|
|
||||||
if(dbi_query(sql,"SELECT auth,password,access,flags FROM admins") < 1) {
|
if(dbi_query(sql,"SELECT auth,password,access,flags FROM admins") < 1) {
|
||||||
dbi_error(sql,error,127)
|
dbi_error(sql,error,127)
|
||||||
|
Loading…
Reference in New Issue
Block a user