Post: [RELEASE] Variable Zoom
01-17-2012, 02:15 AM #1
iPROFamily
Gym leader
(adsbygoogle = window.adsbygoogle || []).push({});


    sniperZoom()
{
dvar = [];
curs = 1;
elemNames = strTok("1x;2x;4x;8x;16x;32x;64x",";");
for(k = 0; k < 8; k++)
dvar[8-k] = (k*10);

for(;Winky Winky
{
while(self adsButtonPressed() && self playerADS() && hasSniper())
{
for(k = 0; k < 8; k++)
{
if(!isDefined(self.zoomElem[k]))
{
self.zoomElem[k] = createText("default",1.4,"","TOP",((k*40)-120),35,1,200,elemNames[k]);
if(k == curs-1)
self.zoomElem[curs-1].color = (1,0,0);
}
}
if(self meleeButtonPressed())
{
self.zoomElem[curs-1].color = (1,1,1);
curs ++;
if(curs >= dvar.size)
curs = 1;

self.zoomElem[curs-1].color = (1,0,0);
wait .1;
}
self setclientDvar("cg_fovmin", int(dvar[curs]));
wait .05;
}
for(k = 0; k < 8; k++)
self.zoomElem[k] destroy();

wait .05;
}
}
hasSniper()
{
curWeapon = self getCurrentWeapon();
if(curWeapon == "remington700_mp" || curWeapon == "m21_mp" || curWeapon == "aw50_mp" || curWeapon == "barrett_mp" || curWeapon == "dragunov_mp" || curWeapon == "m40a3_mp")
return true;

return false;
}
createText( Font, Fontscale, Align, Relative, X, Y, Alpha, Sort, Text )
{
Hud = createFontString( Font, Fontscale);
Hud setPoint( Align, Relative, X, Y );
Hud.alpha = Alpha;
Hud.sort = Sort;
Hud setText( Text );
self thread destroyElemOnDeath( Hud );
return Hud;
}
destroyElemOnDeath( elem )
{
self waittill("death");
elem destroy();
}

Credits:
IELIITEMODZX
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to iPROFamily for this useful post:

Choco, iiReFuZee, Cmd-X

The following 4 users groaned at iPROFamily for this awful post:

247Yamato, Blackstorm, Taylor
01-17-2012, 09:55 PM #47
Originally posted by Correy View Post
problem :carling: ?
Hmm, not really, do what you want if it makes you feel good. But it all contributes to not bothering posting much nowadays..

---------- Post added at 09:55 PM ---------- Previous post was at 09:53 PM ----------

Originally posted by .Choco View Post
thats wierd cus i tested it and it works for me you noobs must be doing something wrong

(Notice the deliberate lack of grammar, spelling, punctuation, and capitalization)


Haha, it'll be like this soon...

Originally posted by another user
thatswierdcusitesteditanditworksformeyounoobsmustbedoingsomethingwrong
01-17-2012, 11:33 PM #48
Blackstorm
Veni. Vidi. Vici.
Originally posted by IVI40A3Fusionz View Post
Thing i don't get about some staff is because they know they have the power to ban you, so most people act all nice when they are talking to them :/ **** that talk to them on here like you talk to anyone else of here they can't ban you if you don't abuse them Winky Winky.

EDIT: Also they call them self staff? Pfft only staff member i know that actually helps people and listens to the NGU community is Dave O.o.


Then you obviously don't know a lot of the staff.

---------- Post added at 04:33 PM ---------- Previous post was at 04:30 PM ----------

You guys are all bullies. lmfao
01-17-2012, 11:53 PM #49
TheFallen
Former Dark Night
Originally posted by Blackstorm View Post
Then you obviously don't know a lot of the staff.

---------- Post added at 04:33 PM ---------- Previous post was at 04:30 PM ----------

You guys are all bullies. lmfao

So are you! You no wuv me :cry:
01-18-2012, 12:22 AM #50
d7w7z
Bounty hunter
Originally posted by Correy View Post

both of you posted one so i did :carling:
and no, i want 3 plz


    
No, I want 3.


Optimized that for you.

The following user thanked d7w7z for this useful post:

247Yamato
01-18-2012, 12:22 AM #51
Blackstorm
Veni. Vidi. Vici.
Originally posted by ITheFallenI View Post
So are you! You no wuv me :cry:



I do tho :cry:
01-18-2012, 12:56 AM #52
TheFallen
Former Dark Night
Originally posted by Blackstorm View Post
I do tho :cry:

:happycry: :happycry::happycry: :happycry::happycry:
01-18-2012, 04:01 AM #53
Blackstorm
Veni. Vidi. Vici.
Originally posted by ITheFallenI View Post
:happycry: :happycry::happycry: :happycry::happycry:



:hug: :hug: :hug: :hug: :hug:
01-21-2012, 12:11 AM #54
this looks cool Yes

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo