Remember call night vision
NightVision()
{
self endon("disconnect");
self iprintlnbold("^2Presiona [{+actionslot 4}] para activar visión de Infectado");
for(;;)
{
if(self actionslotfourbuttonpressed())
{
self InfraredVision();
}
wait 0.01;
}
}
InfraredVision()
{
if (!IsDefined(self.InfraredVision))
{
self.InfraredVision = true;
self setinfraredvision(true);
self IPrintLn("InfraredVision: ^2Enabled");
}
else
{
self.InfraredVision = undefined;
self setinfraredvision(false);
self IPrintLn("InfraredVision: ^1Disabled");
}
}