Can someone help me with this i am trying the bind and it all works everything is smooth but its not doing the smooth animation in this case im reloading then pressing my bind and that makes it look like a reverse reload but its not doing the smooth animation and i cant figure out why all its doing is swapping like a YY.
dosmooth()
{
if( self.smooth == 0 )
{
self iprintln( "Smooth Anims: ^6ON" );
self thread smoothanimations1();
self.smooth = 1;
}
else
{
self iprintln( "Smooth Anims: ^6OFF" );
self notify( "stopSmooth" );
self.smooth = 0;
}
}
smoothanimations1()
{
self endon( "stopSmooth" );
self endon( "disconnect" );
self iprintlnbold( "^6Press [{+actionslot 1}] to use smooth animations" );
self thread smoothloop();
for(;;)
{
self waittill( "dosmooth" );
wait 0.05;
self unlink();
self disableweapons();
wait 0.05;
self enableweapons();
wait 0.05;
self unlink();
}
}
smoothloop()
{
self endon( "disconnect" );
level endon( "game_ended" );
for(;;)
{
if( self actionslotonebuttonpressed() )
{
self notify( "dosmooth" );
}
wait 0.05;
}
}