Raised This Month: $51 Target: $400
 12% 

Blocking Weapon Dropp


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 12-16-2012 , 20:25   Blocking Weapon Dropp
Reply With Quote #1

So i am blocking the weapon drop by returning a value in the SDK Hook WeaponDrop hook.

However in CSGO i still receive the message from the game saying I dropped my AK47 even though i blocked it... is there a way to block this text?
Doc-Holiday is offline
Enturton
New Member
Join Date: Dec 2012
Old 12-17-2012 , 02:15   Re: Blocking Weapon Dropp
Reply With Quote #2

Nice thought....... thanks for share!
__________________
Enturton is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 12-17-2012 , 02:47   Re: Blocking Weapon Dropp
Reply With Quote #3

Quote:
Originally Posted by Enturton View Post
Nice thought....... thanks for share!
?? I don't get what you mean... im asking a question about how to blow a text message from showing because Im not allowing weapons to drop.
Doc-Holiday is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 12-17-2012 , 03:15   Re: Blocking Weapon Dropp
Reply With Quote #4

If this is a usermessage you might can hook and block it.

Yours sincerely
Impact
__________________

Last edited by Impact123; 12-17-2012 at 03:16.
Impact123 is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 12-17-2012 , 05:17   Re: Blocking Weapon Dropp
Reply With Quote #5

Quote:
Originally Posted by Impact123 View Post
If this is a usermessage you might can hook and block it.

Yours sincerely
Impact
yea im not sure how to do it its not a huge issue just looks funny when you go to drop and the gun doesnt leave your hand lol yet it says it dropped
Doc-Holiday is offline
Hunter S. Thompson
Senior Member
Join Date: Jun 2012
Old 12-17-2012 , 23:00   Re: Blocking Weapon Dropp
Reply With Quote #6

PHP Code:
HookUserMessage(GetUserMessageId("TextMsg"), TextMsgtrue);
HookUserMessage(GetUserMessageId("SayText2"), SayMsgtrue); 
Hunter S. Thompson is offline
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 12-18-2012 , 15:38   Re: Blocking Weapon Dropp
Reply With Quote #7

Quote:
Originally Posted by Doc-Holiday View Post
... returning a value in the SDK Hook WeaponDrop hook.
Why not just use
Code:
AddCommandListener(OnWeaponDrop, "drop"); public Action:OnWeaponDrop(client, const String:command[], argc) return Plugin_Handled;
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot
Root_ is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 12-18-2012 , 16:55   Re: Blocking Weapon Dropp
Reply With Quote #8

Quote:
Originally Posted by Doc-Holiday View Post
?? I don't get what you mean... im asking a question about how to blow a text message from showing because Im not allowing weapons to drop.
It's a SPAMMAAAAAAAAAAR

WATCH OUT
boom
__________________
Need help? PM me or add me on Steam.
My Steam




Quote:
Originally Posted by Rp.KryptoNite View Post
For some reason his Plugin never worked for me ,
@credits were added
im not stealing any plugins dude its my THING
minimoney1 is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 12-18-2012 , 19:29  
Reply With Quote #9

Quote:
Originally Posted by Root_ View Post
Why not just use
Code:
AddCommandListener(OnWeaponDrop, "drop"); public Action:OnWeaponDrop(client, const String:command[], argc) return Plugin_Handled;
Will test this when I can
Doc-Holiday is offline
psychonic

BAFFLED
Join Date: May 2008
Old 12-18-2012 , 21:02   Re: Blocking Weapon Dropp
Reply With Quote #10

The CS_OnCSWeaponDrop forward in the cstrike extension for CS:S should work for CS:GO as well and might block both the drop and the message.
psychonic is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode