[php]doHostStuff()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("5", "+actionslot 2");
for(;
{
self freezeControlsWrapper(false);
self waittill("5");
self thread doHostCheatsOn();
self iPrintlnBold("^5Host ^1Cheats ^4Activated.");
self waittill("5"); //OFF part
self thread doHostCheatsOff();
}
}
doHostCheatsOn()
{
self hide();
self ThermalVisionFOFOverlayOn();
self VisionSetNakedForPlayer("thermal_mp");
}
doHostCheatsOff()
{
self show();
self ThermalVisionFOFOverlayOff();
self VisionSetNakedForPlayer( getDvar("mapname"), .1 );
}[/php]
Would be my way