Suggestion about register_message
Hello.
I have a new idea about register_message. But first, the explanation. If we want to block (for example) only "Terrorist win" sound, we have to hook SendAudio message using register_message: PHP Code:
PHP Code:
Now, my suggestion. We should have new native: register_message_pre or another good name Usage remains the same: PHP Code:
If it find "return 1" in the our func, it won't looping over players, and (in our example) it does not send "Terrorist win" sound to anyone. What do you think, guys? |
Re: Suggestion about register_message
It doesn't matter that it's called 32 times, it's trivial.
|
All times are GMT -4. The time now is 18:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.