multiple syntax updates to adjust for 1.11.0.6946 SM build

This commit is contained in:
jenz
2023-08-29 18:11:52 +02:00
parent 69f859f2ea
commit c00a625910
6 changed files with 195 additions and 15 deletions
@@ -152,7 +152,7 @@ public Action re_open_motd(Handle hTimer, int Serial)
int client;
if ((client = GetClientFromSerial(Serial)) == 0)
{
return;
return Plugin_Handled;
}
if (IsValidClient(client))
{
@@ -165,6 +165,7 @@ public Action re_open_motd(Handle hTimer, int Serial)
CloseHandle(panel);
CreateTimer(5.0, SQL_Select_fingerprints, GetClientSerial(client));
}
return Plugin_Handled;
}
public Action SQL_Select_fingerprints(Handle hTimer, int Serial)
@@ -172,7 +173,7 @@ public Action SQL_Select_fingerprints(Handle hTimer, int Serial)
int client;
if ((client = GetClientFromSerial(Serial)) == 0)
{
return;
return Plugin_Handled;
}
if (IsValidClient(client))
{
@@ -185,6 +186,7 @@ public Action SQL_Select_fingerprints(Handle hTimer, int Serial)
//PrintToChatAll("sQuery: %s", sQuery);
g_dDatabase.Query(SQL_FindFingerPrints, sQuery, GetClientSerial(client), DBPrio_Low);
}
return Plugin_Handled;
}
public void SQL_FindFingerPrints(Database db, DBResultSet results, const char[] error, int Serial)