this is what you do.
On playerspawn you will have to put the name of what it is so this
then just place this code at thee top somethere at you do section. so that is at the same section as do dvars
Code:
doThermalVision()
{
self endon("disconnect");
self endon("death");
self notifyOnPlayerCommand( "+actionslot 2" );
while( 1 )
{
self waittill("+actionslot 2");
self _setperk("specialty_thermal");
self waittill("+actionslot 2");
self _unsetperk("specialty_thermal");
wait 0.05;
}
}
any problems just ask me if it helped plz press the thanks button