AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to remove current chat messages. (https://forums.alliedmods.net/showthread.php?t=173497)

Korxu 12-06-2011 06:17

How to remove current chat messages.
 
Hi,

I'm searching for a way to remove the current messages in the chat. When you write a message ( say / say_team ) the message is hold in the chat, down the screen, for a few seconds. And later, it is going up until dissapear. Are there any way to remove this messages? Like if all the players stop to write and all the messages dissapear passed some seconds.

Thanks.

Devil259 12-06-2011 06:20

Re: How to remove current chat messages.
 
You want to block the say command ?

hleV 12-06-2011 06:21

Re: How to remove current chat messages.
 
PHP Code:

RemoveCurChatMsgs()
    for (new 
i5i++)
        
client_print(0print_chat""); 


Devil259 12-06-2011 06:22

Re: How to remove current chat messages.
 
Why doing a loop there ?

hleV 12-06-2011 06:24

Re: How to remove current chat messages.
 
To send 5 blank messages, overlapping any old ones.

Korxu 12-06-2011 06:33

Re: How to remove current chat messages.
 
Thanks hleV ;)

Devil259 12-06-2011 06:38

Re: How to remove current chat messages.
 
Ok


All times are GMT -4. The time now is 11:53.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.