Witch should i use, and how?
To block the message #Game_bomb_pickup:
Code:
or should i use register_message (witch one is fastest/req. least CPU). And how to use register_message, i didnt understand funcwiki! :) |
For such purpose your code wouldn't work good.
Because this is not a global event. So you shouldnt use id==0 " " space not necessary. Example of using register_message: Code:
|
Would that block exactley Game_bomb_pickup?
|
Re: Witch should i use, and how?
Quote:
Code:
Quote:
This is just an example. As you can see here "SendAudio" message id. You can change this to "TextMsg" message id and check for 2nd argument inside function and then block message with return PLUGIN_HANDLED. |
:D :D Thx
|
| All times are GMT -4. The time now is 16:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.