mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
Fixed chat printing error.
This commit is contained in:
parent
8be2d1085c
commit
07434d085d
@ -1034,6 +1034,14 @@ public int Native_StopChatSound(Handle handler, int numParams)
|
||||
public int Native_PrintToChat(Handle handler, int numParams)
|
||||
{
|
||||
int client = GetNativeCell(1);
|
||||
|
||||
if(!IsClientInGame(client))
|
||||
{
|
||||
gB_StopChatSound = false;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int iWritten = 0; // useless?
|
||||
|
||||
char[] sBuffer = new char[300];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user