Block a specific impulse, Here's how you do it
Code:
|
don't use return PLUGIN_xx. The return value in that function should be ignored (=> use return only). Returning PLUGIN_HANDLED makes me think you want to supercede prethink, which is not a good idea in my eyes (and, like i said, it should not be possible with the engine module).
|
Engine for amxx 0.20 has an impulse blocker
|
register_impulse right
|
No
|
Quote:
the return was because the compiler said it should return stuff :) Ooo... are we getting register_impulse in 0.20? Please? |
well anyways only do retrun without a value. I noticed what actually blocks it (this question was already answered somewhere i think), but the return confuses people (like me :) )
|
I'll think about it, personally I don't like register_impulse and see no reason for it, so I did client_impulse forward
|
| All times are GMT -4. The time now is 14:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.