Unscope Snipers
1 Attachment(s)
A simple plugin that unscopes AWP and SCOUT after shooting to exempt you from the effort to fast switch from your primary weapon to your pistol and vice versa avoiding ending up with a scoped weapon after shooting.
Credits: ConnorMcLeod Arkshine Exolent[jNr] Updated - Please redownload (better version available) |
Re: Unscope Snipers
I've told you new id = blabla, directly... -_-
|
Re: Unscope Snipers
Quote:
Updated... |
Re: Unscope Snipers
Actually, looking at the AWP weapon, I would prefer to use m_bResumeZoom set to 0 to no allow the zoom to back.
|
Re: Unscope Snipers
Quote:
BTW: Is that .cpp from your CS 1.6 SDK ? |
Re: Unscope Snipers
Yes.
About the plugin, you hook as pre, so, when you will shoot while zooming you will add some spread ( see the start of function ). So, you should hook as post. Now, about the offset, there is not really a difference. Just, I prefer to trigger something and letting the game doing its job rather than forcing when no need. Here you have an offset m_bResumeZoom which is meant specifically for what you need. The game will check that at the right time to remove the zoom, so just turn off the offset. |
Re: Unscope Snipers
Quote:
Are you talking about: set_pdata_int(_index,_Offset,_Value,_linuxdif f=5); ? And if so... I don't really have a clue about how to use it... Like: set_pdata_int(iEnt,185,0,_) ? Edit: where can I find the offset number for m_bResumeZoom ? I can't find it anywhere... :| Ok, so I think it should be something like this ? PHP Code:
|
Re: Unscope Snipers
Don't turn your plugin submission topic into a scripting help topic.
|
Re: Unscope Snipers
You doesn't seem to understand how thoe whole thing is working, take the time to understand and then update the plugin, also, hook primattack POST should be better.
|
Re: Unscope Snipers
Quote:
|
All times are GMT -4. The time now is 11:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.