blub
This commit is contained in:
parent
492703fb5c
commit
7083749fcf
@ -146,7 +146,7 @@ public Action Command_Hide(int client, int args)
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
g_iHideDistance[client] = iDistance;
|
||||
g_iHideDistance[client] = iDistance^2;
|
||||
ReplyToCommand(client, "[Hide] Humans within range %d are now hidden.", g_iHideDistance[client]);
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
@ -232,7 +232,7 @@ public void SQL_OnDatabaseConnect(Database db, const char[] error, any data)
|
||||
g_hDatabase = db;
|
||||
|
||||
char sQuery[256];
|
||||
Format(sQuery, sizeof(sQuery), "CREATE TABLE IF NOT EXISTS halloween_table (`steam_auth` varchar(64), `name` varchar(256), `collected` int(16), PRIMARY KEY (`steam_auth`))");
|
||||
Format(sQuery, sizeof(sQuery), "CREATE TABLE IF NOT EXISTS halloween_table (`steam_auth` varchar(64), `name` varchar(256), `collected` int(16), PRIMARY KEY (`steam_auth`), INDEX (`collected`))");
|
||||
|
||||
g_hDatabase.Query(SQL_OnTableCreated, sQuery, _, DBPrio_High);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user