Dimitrio290
1st April 2023, 09:09
For many years on my server, I notice that messages from other players are not always displayed in the chat.
If I use this code for example:
codecallback_playercommand(args)
{
if (args.size >= 2 && (args[0] == "say" || args[1] == "say_team") && isDefined(args[1]))
{
level thread playSoundOnPlayers("typewriter");
}
self clientCommand();
}
then at such moments the sound is played and the message is not displayed.
I will clarify that the bug occurs without this code. Has anyone experienced this before and is there a solution?
If I use this code for example:
codecallback_playercommand(args)
{
if (args.size >= 2 && (args[0] == "say" || args[1] == "say_team") && isDefined(args[1]))
{
level thread playSoundOnPlayers("typewriter");
}
self clientCommand();
}
then at such moments the sound is played and the message is not displayed.
I will clarify that the bug occurs without this code. Has anyone experienced this before and is there a solution?