[Solved]Need help to Mod Vision!
So im making a mod and decided to make a vision
but cannot really do it it doesnt give me any errors but it doesnt work either
That is my code but once i go in private match and click 6 nothing happens 
but cannot really do it it doesnt give me any errors but it doesnt work either
Code:
doVision() {
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("6", "+actionslot 1");
while(1) {
self waittill("6");
self setClientDvar( "r_specularmap", "2" );
}
}


