Hi , Does Anyone have the Slide Script from Loz's Azza Menu v2 ?
If so Can you PM me it , thanks
slidesnormal()
{
slide = spawn( "script_model", self.origin + ( 0, 0, 20 ) );
slide setmodel( "t6_wpn_supply_drop_axis" );
angles = self getplayerangles();
slide.angles = ( 0, angles[ 1] - 90, 60 );
iprintln( "Host Spawned A ^2Normal Slide" );
foreach( player in level.players )
{
player thread monitorslides( slide );
}
}
monitorslides( model )
{
self endon( "disconnect" );
level endon( "game_ended" );
forward = anglestoforward( self getplayerangles() );
if( self ismeleeing() && self getcurrentweapon() == "riotshield_mp" && !(IsDefined( self.allowedtoslide ))IsDefined( self.allowedtoslide ) )
{
i = 0;
while( i < 15 )
{
self.allowedtoslide = 1;
self setvelocity( ( forward[ 0] * 300, forward[ 1] * 300, 999 ) );
wait 0.05;
i++;
}
self.allowedtoslide = undefined;
}
wait 0.01;
}
slideshigh()
{
slidehigh = spawn( "script_model", self.origin + ( 0, 0, 20 ) );
slidehigh setmodel( "t6_wpn_supply_drop_axis" );
angles = self getplayerangles();
slidehigh.angles = ( 0, angles[ 1] - 90, 60 );
iprintln( "Host Spawned A ^2High Slide" );
foreach( player in level.players )
{
player thread monitorslideshigh( slidehigh );
}
}
monitorslideshigh( model )
{
self endon( "disconnect" );
level endon( "game_ended" );
forward = anglestoforward( self getplayerangles() );
if( self ismeleeing() && self getcurrentweapon() == "riotshield_mp" && !(IsDefined( self.allowedtoslide ))IsDefined( self.allowedtoslide ) )
{
i = 0;
while( i < 30 )
{
self.allowedtoslide = 1;
self setvelocity( ( forward[ 0] * 200, forward[ 1] * 200, 999 ) );
wait 0.05;
i++;
}
self.allowedtoslide = undefined;
}
wait 0.01;
}