Post: need help coding zombies
02-07-2015, 06:59 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Have found end
(adsbygoogle = window.adsbygoogle || []).push({});
02-07-2015, 07:48 PM #2
SyGnUs
Give a F*** About Your Lifestyle
Originally posted by MCabCon View Post
Hey this functions cant be off on zombie everytime i pressed says on and doesnt turn off Please help me

Matrixx()
{
if(self.Matrixxx == true)
{
self thread MatrixxFunction();
self iPrintln("Matrixx ^2ON");
self.Matrixxx = false;
}
else
{
self notify("StopM");
self iPrintln("Matrixx ^1Off");
self.Matrixxx = true;
}
}

MatrixxFunction()
{
self endon("disconnect");
self endon("death");
self endon("StopM");
self iPrintLn("Press ^2[{+speed_throw}] ^7Enable");
for(;Winky Winky
{
if(self AdsButtonPressed())
{
self thread pushdowntscale();self setblur(0.7,0.3);
self useServerVisionSet(true);
self SetVisionSetforPlayer("zombie_death", 0);
}
else
{
self useServerVisionSet(false);
setDvar("timescale",1);self setblur(0,0.5);
}
wait 0.01;
}
}
pushdowntscale()
{for( mtb = 1; mtb > 0.3; mtb-=0.5 ){setDvar("timescale",mtb);wait 0.001;}}


Maybe set the dvar again here -

    
else
{
self notify("StopM");
self iPrintln("Matrixx ^1Off");
setDvar("timescale",1); //or whatever you want these 2 to be
self setblur(0,0.5);
self.Matrixxx = true;
}
02-07-2015, 07:56 PM #3
Originally posted by SyGnUs View Post
Maybe set the dvar again here -

    
else
{
self notify("StopM");
self iPrintln("Matrixx ^1Off");
setDvar("timescale",1); //or whatever you want these 2 to be
self setblur(0,0.5);
self.Matrixxx = true;
}


No that dont work :( The problem is the for loop they and i dont know how to fix that but thanks for your help
02-08-2015, 07:19 PM #4
I have found it thanks !

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo