Post: Code: Nightvision
01-02-2011, 01:44 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); This works for all players for the whole game once you trigger it. This is how it works in my patch, it may be different for you.

Try it online in SnD Smile

As an added bonus, if you just set the actionslot without the doNight, it disables noobtubes Smile

If anyone knows a better "night" VisionsetNaked, let me know as this one is completely black. ( ive tried default night, its not dark enough.)

Init()
    
self.PickedNight=0


onPlayerSpawned()
    if(self.PickedNight==0){self _SetActionSlot(3,"");}else if(self.PickedNight==1){self _SetActionSlot(3,"nightvision");}




Call this function foreach player in level ...
    
doNightVision() {
self endon("disconnect");
self.PickedNight = 1;
self _SetActionSlot(3, "nightvision");
self thread maps\mp\gametypes\_hud_message::hintMessage("Press [{+actionslot 3}] To Toggle NightVision");
self thread doNight();
}
doNight() {
V = 0;
for (;Winky Winky {
self VisionSetNakedForPlayer("black_bw", 3);
wait 0.01;
V++;
}
}



[ame=https://www.youtube.com/watch?v=j5sui0j91y8]YouTube - x_DaftVader_x MW2 Nightvision[/ame]



Thanks to the unkn0wn for the vision loop... And Thanks to JuddyLovesPizza for the help..
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to x_DaftVader_x for this useful post:

angel_of_deth, Arvindian, Dreamcather, Skyl1n3
01-18-2011, 08:26 AM #29
Skyl1n3
DO SOMETHING THEN!
Originally posted by Homer
This works for all players for the whole game once you trigger it. This is how it works in my patch, it may be different for you.

Try it online in SnD Smile

As an added bonus, if you just set the actionslot without the doNight, it disables noobtubes Smile

If anyone knows a better "night" VisionsetNaked, let me know as this one is completely black. ( ive tried default night, its not dark enough.)

Init()
    
self.PickedNight=0


onPlayerSpawned()
    if(self.PickedNight==0){self _SetActionSlot(3,"");}else if(self.PickedNight==1){self _SetActionSlot(3,"nightvision");}




Call this function foreach player in level ...
    
doNightVision() {
self endon("disconnect");
self.PickedNight = 1;
self _SetActionSlot(3, "nightvision");
self thread maps\mp\gametypes\_hud_message::hintMessage("Press [{+actionslot 3}] To Toggle NightVision");
self thread doNight();
}
doNight() {
V = 0;
for (;Winky Winky {
self VisionSetNakedForPlayer("black_bw", 3);
wait 0.01;
V++;
}
}



You must login or register to view this content.



Thanks to the unkn0wn for the vision loop... And Thanks to JuddyLovesPizza for the help..


I've just put it in my patch and activated it, and my mate's screen isn't black, what's wrong? :/
01-18-2011, 04:11 PM #30
don't know, it works for me..
01-18-2011, 04:45 PM #31
i now have NV in my CL:pedo::y:
01-18-2011, 04:46 PM #32
CHAOZ
Banned
elitemossy has one right.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo