forked from UNLOZE/sm-plugins
search feature works again
This commit is contained in:
@@ -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;
|
||||
@@ -50,8 +62,9 @@ public int API_GetMaxClients()
|
||||
|
||||
public int API_GetUserFlagBits(int client)
|
||||
{
|
||||
if (!IsClientConnected(client))
|
||||
return 0;
|
||||
if (!IsClientConnected(client))
|
||||
return 0;
|
||||
|
||||
return GetUserFlagBits(client);
|
||||
return GetUserFlagBits(client);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user