Clear Chat Text
How would i clear the chat text. I want to clear every message from chat at round start.
|
Re: Clear Chat Text
You could send a SayText message with 5 blank lines "^n^n^n^n".
|
Re: Clear Chat Text
ok ty.
|
Re: Clear Chat Text
PHP Code:
|
Re: Clear Chat Text
1. Why format the variable when you know it's contents? Either make it constant or use copy() because there is no formatting.
2. Cache get_user_msgid("SayText") in plugin_init(). 3. Don't loop through all players. Just use MSG_BROADCAST. |
Re: Clear Chat Text
Quote:
PHP Code:
|
Re: Clear Chat Text
PHP Code:
|
Re: Clear Chat Text
Quote:
|
Re: Clear Chat Text
Try to change
PHP Code:
to PHP Code:
|
Re: Clear Chat Text
You need to provide a valid sender ID. Search for a connected player.
|
| All times are GMT -4. The time now is 11:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.