C4 must be planted at a bomb site!
Hi, I am doing a detonator with weapon C4, but when I am crouched and I have C4 in hands, and I press +ATTACK button, In middle of screen appear:
"C4 must be planted at a bomb site!" But when I am stand, and My weapon is the C4 and I press +ATTACK button, the message doesn't appear. I want to delete it because when the weapon in hands is C4 and I press +attack button, I throw an entity to floor, and when message appears, I can't throw it. I was reading the Bazooka Mod plugin, but I can't find the part where He eliminates or prevents this message. Thanks |
Re: C4 must be planted at a bomb site!
Register user "TextMsg" messageid, and then check the message hooked is the correct message. Return PLUGIN_HANDLED to prevent the message from showing up.
|
Re: C4 must be planted at a bomb site!
Show your code.
|
Re: C4 must be planted at a bomb site!
but I don't want to return message only, I want to return all the function, because It blocks me to throw a explosive when I am ducking.
|
Re: C4 must be planted at a bomb site!
Take a look at the code from this plugin, which allows you to plant anywhere. It may help you.
http://forums.alliedmods.net/showthread.php?p=143402 |
| All times are GMT -4. The time now is 23:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.