created a new table to fetch names from
This commit is contained in:
parent
2d869369c3
commit
b354b75736
@ -111,7 +111,7 @@ public void SQL_OnDatabaseConnect(Database db, const char[] error, any data)
|
|||||||
public void randomize_names()
|
public void randomize_names()
|
||||||
{
|
{
|
||||||
char sQuery[512];
|
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);
|
g_hDatabase.Query(SQL_OnQueryCompleted, sQuery, DBPrio_High);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user