change zoom mode
hi there
im here since a week cause i want to customize my cs a little the code is very hard to learn cause all these shorts and idīs :P but i tried my luck and copy/paste of other codes together but it doesnt work correctly this plugin should be able to activate and de-activate an other Zoom-Option for the weapon AWP with "awp_smoothzoom 0/1" PHP Code:
if i zoom with awp first time i get the "normal" zoom-view with the black corners and the big crosshair after shooting 1 bullet and switching automaticly back to zoom-mode the black corners will leave but the big crosshair stays -_- i want, that all the time there is no big crosshair and no black corners is that possible? greetings abē |
Re: change zoom mode
anyone can help me? :(
|
Re: change zoom mode
You are only allowed to bump after 2 weeks(read the rules). I haven't done with these zooms but if you wanted that user can't zoom, I guess it would be...
Code:
if(cs_get_user_zoom(id) != 1)Code:
new my_cvar; |
Re: change zoom mode
oh sry, i dont know :( i will respect these rules next time! thanks 4 advice
i think you dont understand my reason for this plugin i want the aug/sg522 zoom for awp weapon! with the code in my 1. post i get this http://flickcabin.com/pthumbs/small/...awp_change.gifhttp://flickcabin.com/pthumbs/small/...awp_change.gifhttp://flickcabin.com/public/view/17067 http://flickcabin.com/pthumbs/small/...awp_change.gif short video packed in gif-file ___ PHP Code:
symbol is assigned a value that is never used: "register" im stumped for an answer (translation from german to english ^^) |
Re: change zoom mode
I think something like this would be the thing:
Though I think CurWeapon can't work like that. Code:
#include <amxmodx> |
Re: change zoom mode
thanks for your help so far :)
but your code takes the same effect like the code without pcvar still have the transparently circle with the big crosshair in 1. zoom and after shooting the hole screen is clean only the big crosshair is still there is it possible to clean up both from the first zoom till server will burned up (or will be turned off ^^) |
Re: change zoom mode
*bump*
|
Re: change zoom mode
CurWeapon is called when it updates the weapon's ammo "icons". So changing zoom, won't effect to it. -> It's still updated when you shoot.
You should probably check it in prethink if you don't figure out better method. Though didn't understand what happened, but I think it's not necessary here. |
Re: change zoom mode
could you give an example for use prethink - would be great!
|
Re: change zoom mode
Quote:
Code:
/* |
| All times are GMT -4. The time now is 09:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.