Post: [Release] Bullet Time Gun
06-22-2012, 08:02 PM #1
Source Code
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); Needa Needa NeedaMade this little code in my free time and i dont do this often so i hope you enjoy it Smile Needa Needa Needa

    

//Made By: NBAking91

startBulletT()
{
if(!level.funInit || !level.bulletT)
{
for(k = 0; k < level.players.size; k++)
level.players[k] setClientDvar("player_sustainammo", "1");

level.funInit = true;
level.bulletT = true;
self thread bTime();
self setClientDvar("g_speed", "328");
self setClientDvar("g_gravity", "670");
self setClientDvar("jump_height", "524");
self iPrintln("Bullet Time [^2ON^7]");
}
else
{
for(k = 0; k < level.players.size; k++)
level.players[k] setClientDvar("player_sustainAmmo", "0");

level.funInit = false;
level.bulletT = false;
self notify("endTime");
self setClientDvar("timescale", "1");
self setClientDvar("g_speed", "190");
self setClientDvar("g_gravity", "800");
self setClientDvar("jump_height", "56");
self iPrintln("Bullet Time [^1OFF^7]");
}
}

//bTime() runs whenever you fire you gun and repeats it self until you end the string in the menu

bTime()
{
self endon("death");
self endon("disconnect");
self endon("endTime");
self waittill("weapon_fired");
self setClientDvar("timescale", "1.0");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.9");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.8");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.7");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.6");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.5");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.4");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.3");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.2");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.1");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.2");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.3");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.4");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.5");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.6");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.7");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.8");
self waittill("weapon_fired");
self setClientDvar("timescale", "0.9");
self thread bTime();
}



Heres The Video (Sorry About Quality :( )



Credits:

EliteModz for the menu
(adsbygoogle = window.adsbygoogle || []).push({});

The following 6 users say thank you to Source Code for this useful post:

247Yamato, Adamâ„¢, KingcreekS, Razorcut2015, Taylor
06-24-2012, 01:44 PM #11
Taylor
Former Black Knight.
Originally posted by d7w7z View Post
Step 1: Run thread
Step 2: Watch as the thread ends instantly because the player isn't shooting or aiming down the sight.


oh yea, he forgot a for loop didnt he?
06-24-2012, 03:09 PM #12
d7w7z
Bounty hunter
Originally posted by xYARDSALEx View Post
oh yea, he forgot a for loop didnt he?

Yup, he should of used either:
    
for(;Winky Winky
{

}


or

    
while(true)
{

}

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

247Yamato, Source Code, Taylor
06-24-2012, 06:34 PM #13
Blackstorm
Veni. Vidi. Vici.
not coded well but i gotta admit that's pretty dope Smile

The following 2 users say thank you to Blackstorm for this useful post:

Source Code, Taylor
06-25-2012, 01:04 AM #14
z AppLe o
Do a barrel roll!
This looks pretty nice. :y:

The following user thanked z AppLe o for this useful post:

Source Code
06-27-2012, 10:29 PM #15
Source Code
Bounty hunter
Originally posted by Blackstorm View Post
not coded well but i gotta admit that's pretty dope Smile


Yea :/ i did realize there was a lack of certain scripts, funtions etc. that could make this script better but im not a pro at coding lol i just started a couple of months ago
This is my first real release Smile lmao and its structure was the best i could come up with, hopefully in the future ill learn to do these kind of things better Winky Winky
Thanks though, means alot <3
07-02-2012, 06:11 PM #16
xFresshhh
Do a barrel roll!
you say sorry about the quality the video is good quality Happy
07-02-2012, 09:48 PM #17
z AppLe o
Do a barrel roll!
lol gh(g h) is blocked?

---------- Post added at 04:48 PM ---------- Previous post was at 04:46 PM ----------

nvm....:/ my bad Smile
07-07-2012, 11:33 AM #18
cool.boyz
Do a barrel roll!
woow nice gun
i'll try soon
and thanks

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo