it isnt possible to change the vision to M because it isnt a slot in mw2
u can set self waittill("N");
self VisionSetNakedForPlayer("VISION");or smth
hello!
i set a vision
mpnuke_aftermatch (i think this the vision name)
its working great!
but when im trying to do like if press 4
vision= black 1 (i dont remember the code of it)
its doing the black vision for a while
and then its force back to the mpnuke...
why?
btw can you give me a code of
nightvision toggle by M?
it isnt possible to change the vision to M because it isnt a slot in mw2
u can set self waittill("N");
self VisionSetNakedForPlayer("VISION");or smth
Last edited by mathieutje12; 11-05-2010 at 06:15 AM.
[php]doThings()
{
self endon("disconnect");
self notifyOnplayerCommand("4", "+actionslot 4");
for(;
{
self waittill("4");
self VisionSetNakedForPlayer("mpnuke_aftermatch", 1); //Your vision
self waittill("4");
self VisionSetNakedForPlayer( getDvar("mapname"), .1 ); //The standart vision of the map you're playing
}
}[/php]
And call it on OnPlayerSpawned() with self thread doThings();
You can do the same with the nighvision (don't now the visionname atm).
Last edited by prisma; 11-05-2010 at 06:17 AM.
yes, but the problem is that always its activating the other vision,
and then after like 4 secs its activating back the nuke
[php]doThings()
{
self endon("disconnect");
self notifyOnplayerCommand("4", "+actionslot 4");
for(;
{
self waittill("spawned_player");
self VisionSetNakedForPlayer("mpnuke_aftermatch", 0);
self waittill("4");
self VisionSetNakedForPlayer("black_bw", 0); }
}
[/php]
Try this
Last edited by mathieutje12; 11-05-2010 at 07:23 AM.
I tested it and got no probs![]()