search feature works again
This commit is contained in:
parent
4167f74894
commit
72ff8eb0ab
@ -43,6 +43,18 @@ public void API_PrintHintTextToAll(const char[] format, any ...)
|
||||
}
|
||||
}
|
||||
|
||||
public void API_PrintToChat(int client, const char[] format, any ...)
|
||||
{
|
||||
char buffer[254];
|
||||
|
||||
if (IsClientInGame(client))
|
||||
{
|
||||
SetGlobalTransTarget(client);
|
||||
VFormat(buffer, sizeof(buffer), format, 3);
|
||||
PrintToChat(client, "%s", buffer);
|
||||
}
|
||||
}
|
||||
|
||||
public int API_GetMaxClients()
|
||||
{
|
||||
return MaxClients;
|
||||
@ -55,3 +67,4 @@ public int API_GetUserFlagBits(int client)
|
||||
|
||||
return GetUserFlagBits(client);
|
||||
}
|
||||
|
||||
|
@ -374,6 +374,8 @@ static int HandleRequest(int Client, JSONObject jRequest, JSONObject jResponse)
|
||||
}
|
||||
delete jValue;
|
||||
}
|
||||
//this should just be my torchlight paranoia related to back when botox had ssh access through watchdog systemctl service.
|
||||
/*
|
||||
int sm_call_finish_ex_params_size = 1;
|
||||
if (parameter_count_verified > sm_call_finish_ex_params_size)
|
||||
{
|
||||
@ -388,6 +390,7 @@ static int HandleRequest(int Client, JSONObject jRequest, JSONObject jResponse)
|
||||
jResponse.Set("error", jError);
|
||||
return -1;
|
||||
}
|
||||
*/
|
||||
|
||||
int Result;
|
||||
static char sException[1024];
|
||||
@ -509,3 +512,4 @@ static int ClientFromSocket(AsyncSocket socket)
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user