Raised This Month: $ Target: $400
 0% 

Do not throw grenade


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-22-2009 , 11:43   Re: Do not throw grenade
Reply With Quote #1

In this situation, there is not a better way. Using Orpheu you can hook CSmokeGrenade::Deploy() but you still would need to use the offset to block properly.
__________________
Arkshine is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 10-22-2009 , 15:44   Re: Do not throw grenade
Reply With Quote #2

Quote:
Originally Posted by Arkshine View Post
In this situation, there is not a better way. Using Orpheu you can hook CSmokeGrenade:eploy() but you still would need to use the offset to block properly.
haha

you're in love with Orpheu

I like Jon's example.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-22-2009 , 15:47   Re: Do not throw grenade
Reply With Quote #3

Jon, would be better to register the forward POST.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Jon
Veteran Member
Join Date: Dec 2007
Old 10-22-2009 , 17:51   Re: Do not throw grenade
Reply With Quote #4

Quote:
Originally Posted by ConnorMcLeod View Post
Jon, would be better to register the forward POST.
It works as it should. But maybe post should be used for clarity. If I can remember correctly post is (only?) needed when setting the offset in Ham_Weapon_PrimaryAttack.

Last edited by Jon; 10-22-2009 at 17:53.
Jon is offline
Old 10-22-2009, 17:02
ConnorMcLeod
This message has been deleted by ConnorMcLeod. Reason: wanted to read the post !!
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 17:44.


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