just adding delay
This commit is contained in:
parent
d89ce6f0fd
commit
487a24f278
@ -142,6 +142,19 @@ public void SQL_callback_update(Database db, DBResultSet results, const char[] e
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (IsValidClient(client) && !g_disable_html_motd[client])
|
if (IsValidClient(client) && !g_disable_html_motd[client])
|
||||||
|
{
|
||||||
|
CreateTimer(7.0, re_open_motd, GetClientSerial(client));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Action re_open_motd(Handle hTimer, int Serial)
|
||||||
|
{
|
||||||
|
int client;
|
||||||
|
if ((client = GetClientFromSerial(Serial)) == 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (IsValidClient(client))
|
||||||
{
|
{
|
||||||
//reopening the menu again after info got stored. it still generates the same fingerprint despite not showing the client any menu.
|
//reopening the menu again after info got stored. it still generates the same fingerprint despite not showing the client any menu.
|
||||||
Handle panel = CreateKeyValues("data");
|
Handle panel = CreateKeyValues("data");
|
||||||
|
Loading…
Reference in New Issue
Block a user