Raised This Month: $ Target: $400
 0% 

[Solved] Disable zoom on Awp


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 05-22-2007 , 13:45   Re: Disable zoom on Awp
Reply With Quote #7

Quote:
Originally Posted by Alka View Post
maybe this?

*Or you can make it in client_prethink()...and check if he have AWP set "No zoom" else return ! *
I would hook CurWeapon. When they change to an awp set there zoom to CS_SET_NO_ZOOM. Once the weapon is change to another weapon than awp set reset it back to CS_RESET_ZOOM. So they can normally zoom on other weapons. Use an array see if they are set to no zoom or not on awp.

btw once they are set in CS_SET_NO_ZOOM they won't be able to change their zoom even if they change their weapon. Till you unset them
__________________
No private support via Instant Message
GunGame:SM Released

Last edited by teame06; 05-22-2007 at 13:48.
teame06 is offline
Send a message via AIM to teame06
 



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:43.


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