forked from UNLOZE/sm-plugins
created a new table to fetch names from
This commit is contained in:
@@ -111,7 +111,7 @@ public void SQL_OnDatabaseConnect(Database db, const char[] error, any data)
|
||||
public void randomize_names()
|
||||
{
|
||||
char sQuery[512];
|
||||
Format(sQuery, sizeof(sQuery), "select name from unloze_racetimer_css.zetimer_table_new ORDER BY RAND() limit 500");
|
||||
Format(sQuery, sizeof(sQuery), "select name from unloze_racetimer_css.random_names ORDER BY RAND() limit 500");
|
||||
g_hDatabase.Query(SQL_OnQueryCompleted, sQuery, DBPrio_High);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user