isnipe "backflip"
Hi everyone hoping that someone could help me out.
I'm trying to add a "back-flip" rotation to a Isnipe mod but am having difficulty
does anyone know what part of this i should edit to have a "backflip" effect?
I'm trying to add a "back-flip" rotation to a Isnipe mod but am having difficulty

Code:
Rotation() //360 rotation
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("fx1", "+actionslot 1");
for(;;)
{
self waittill("fx1");
for(i=0; i<=360; i+=20)
{
self setPlayerAngles(self.angles+(0,0,i));
wait 0.01;
}
}
}
or if this could work.
spawning an entity, attach it to yourself and rotate the entity to make it do a backflip, and since it is linked to you, make you do one as well. but i have no idea how one would code this.
