Raised This Month: $ Target: $400
 0% 

When the Player is using the sight to AWP


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 06-15-2010 , 08:26   When the Player is using the sight to AWP
Reply With Quote #1

hi everyone.

One cuestion , it's possible to hook when the player is using the sight to the AWP and when he stop to use the sight ?

Sorry, I can not explain
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 06-15-2010 , 08:32   Re: When the Player is using the sight to AWP
Reply With Quote #2

Are you refering to zoom
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 06-15-2010 , 08:35   Re: When the Player is using the sight to AWP
Reply With Quote #3

Quote:
Originally Posted by ot_207 View Post
Are you refering to zoom
[off]ot is back :O![/off]

Yes...
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 06-15-2010 , 08:37   Re: When the Player is using the sight to AWP
Reply With Quote #4

Quote:
Originally Posted by ot_207 View Post
Are you refering to zoom
yeah, i need hook this , when is using the zoom and when is stop using the zoom.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 06-15-2010 , 09:00   Re: When the Player is using the sight to AWP
Reply With Quote #5

Hmm probably you should use Ham_Weapon_SecondaryAttack
Code:
RegisterHam ( Ham_WeaponSecondaryAttack, "weapon_awp", "fw_AwpSecAttack_Post", 1 )
and than you just can check FOV
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 06-15-2010 , 12:25   Re: When the Player is using the sight to AWP
Reply With Quote #6

Quote:
Originally Posted by NiHiLaNTh View Post
Hmm probably you should use Ham_Weapon_SecondaryAttack
Code:
RegisterHam ( Ham_WeaponSecondaryAttack, "weapon_awp", "fw_AwpSecAttack_Post", 1 )
and than you just can check FOV
Lucas, check CS-SDK for that:

http://code.google.com/p/cs-sdk/sour...pn_awp.cpp#132

As nihilanth said, hook ham_weaponsecondaryattack (only used for M4A1, AWP, SCOUT and some others weapons).
Then you can change fov as your needs then supercede it
__________________

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
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 06-15-2010 , 13:38   Re: When the Player is using the sight to AWP
Reply With Quote #7

Joro and Nihilanth really thanks.

one cuestion , exist a plugin with this funcion ?
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 06-15-2010 , 17:17   Re: When the Player is using the sight to AWP
Reply With Quote #8

This?

http://forums.alliedmods.net/showthread.php?p=468319
KadiR 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 14:52.


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